Skip to content

Commit

Permalink
fix(ooxast-util-citations): fix slight issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Mar 29, 2023
1 parent 23e25ab commit 17adb80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 167 deletions.
165 changes: 0 additions & 165 deletions src/lib/RSXML.dtd

This file was deleted.

4 changes: 2 additions & 2 deletions src/lib/ooxast-util-citations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 17adb80

Please sign in to comment.