Skip to content

Commit 8aacb01

Browse files
committed
fix article titles
1 parent e46c808 commit 8aacb01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/services/pmcService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ async function getPmcArticle(pmcid: string): Promise<any> {
1414
const parser = new XMLParser({
1515
ignoreAttributes: false,
1616
attributeNamePrefix: "",
17+
htmlEntities: true,
1718
});
1819

1920
const json = parser.parse(xml);

0 commit comments

Comments
 (0)