Skip to content

Commit

Permalink
Disable entity processing on XML Parser to fix issue with unescaped c…
Browse files Browse the repository at this point in the history
…ontent.
  • Loading branch information
zachleat committed Dec 10, 2024
1 parent 43fca2b commit 28d9476
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const xmlParser = new XMLParser({
ignoreAttributes: false,
allowBooleanAttributes: true,
parseAttributeValue: true,
processEntities: false, // disable this, was causing inconsistencies in Bluesky entries
// htmlEntities: true,
});

class Fetcher {
Expand Down

0 comments on commit 28d9476

Please sign in to comment.