Files
indiekit-endpoint-microsub/package.json
Ricardo b4d2b7418d fix: decode HTML entities in feed titles to prevent literal display
Feedparser passes through HTML entities (“, ’, etc.) as
literal strings in item titles. Nunjucks auto-escaping then double-encodes
them, causing entities to render literally in the reader UI.

Apply sanitizeHtml with no allowed tags to decode entities in title fields
across RSS/Atom, JSON Feed, and feed metadata normalizers.
2026-02-24 14:20:55 +01:00

55 lines
1.3 KiB
JSON

{
"name": "@rmdes/indiekit-endpoint-microsub",
"version": "1.0.34",
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
"keywords": [
"indiekit",
"indiekit-plugin",
"indieweb",
"microsub",
"reader",
"social-reader"
],
"homepage": "https://github.com/rmdes/indiekit-endpoint-microsub",
"author": {
"name": "Ricardo Mendes",
"url": "https://rmendes.net"
},
"license": "MIT",
"engines": {
"node": ">=20"
},
"type": "module",
"main": "index.js",
"files": [
"assets",
"lib",
"locales",
"views",
"index.js"
],
"bugs": {
"url": "https://github.com/rmdes/indiekit-endpoint-microsub/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/rmdes/indiekit-endpoint-microsub.git"
},
"dependencies": {
"@indiekit/error": "^1.0.0-beta.25",
"@indiekit/frontend": "^1.0.0-beta.25",
"@indiekit/util": "^1.0.0-beta.25",
"debug": "^4.3.2",
"express": "^5.0.0",
"feedparser": "^2.2.10",
"htmlparser2": "^9.0.0",
"ioredis": "^5.3.0",
"luxon": "^3.4.0",
"microformats-parser": "^2.0.0",
"sanitize-html": "^2.11.0"
},
"publishConfig": {
"access": "public"
}
}