Skip to content

Commit

Permalink
fix(fs): xml serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Nov 4, 2024
1 parent 79543a1 commit 6c7f168
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type {
} from '@interslavic/database-engine-core';
import _ from 'lodash';
import { MultilingualSynset , Lemma, Synset } from '@interslavic/database-engine-core';
import prettierPluginXml from '@prettier/plugin-xml';

import type { XmlSerializerOptions } from '../../fs';
import { XmlSerializer } from '../../fs';
Expand Down Expand Up @@ -39,10 +40,11 @@ export class MultilingualSynsetSerializer extends XmlSerializer<
prettier: {
...options.prettier,
plugins: [
'@prettier/plugin-xml',
...(options.prettier?.plugins ?? []),
prettierPluginXml,
],
parser: 'xml',
htmlWhitespaceSensitivity: 'ignore'
},
});
}
Expand Down

0 comments on commit 6c7f168

Please sign in to comment.