diff --git a/src/lib/RSXML.dtd b/src/lib/RSXML.dtd deleted file mode 100755 index 1b81927..0000000 --- a/src/lib/RSXML.dtd +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/lib/ooxast-util-citations.ts b/src/lib/ooxast-util-citations.ts index 17a62fb..9414a9d 100755 --- a/src/lib/ooxast-util-citations.ts +++ b/src/lib/ooxast-util-citations.ts @@ -108,9 +108,9 @@ export function findCitations(tree: Node, vfile?: VFile, options?: Options): Roo for (const sentence of sentencesWithSpaces) { try { // split the text into sentences so that we can parse them individually - const parsedCitation: CiteOutput = parseTextCite(sentence, { + const parsedCitation = parseTextCite(sentence, { log: options?.log, - }) + }) as CiteOutput // if the sentence is not a citation, just add it to the runs if (parsedCitation.every((item) => typeof item === 'string')) {