fix: extract images from HTML content at read time for existing items

The normalizer fix (1.0.35) only applies to newly ingested items.
Existing items in MongoDB lack photo arrays because dedup prevents
re-processing. Add the same extractImagesFromHtml() fallback in
transformToJf2() so images are extracted from content.html at read
time, making existing xkcd comics and photo posts display immediately.
This commit is contained in:
Ricardo
2026-02-25 17:20:53 +01:00
parent ee2cd26208
commit cdd4a58015
2 changed files with 30 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@rmdes/indiekit-endpoint-microsub",
"version": "1.0.35",
"version": "1.0.36",
"description": "Microsub endpoint for Indiekit. Enables subscribing to feeds and reading content using the Microsub protocol.",
"keywords": [
"indiekit",