-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
Minor, but I noticed with this feed that one of my notes has encoded HTML getting into the <title>
:
<title>I like this CSS image reset after watching Kevin Powell’s walkthrough. <...</title>
The original post uses e-content
and I'm guessing Granary is using the parsed html
attribute for the title. A possible solution might be to use value
attribute instead, for posts that don't have a name
of course:
"content": [
{
"html": "<p>I like this CSS image reset after watching <a href=\"https://www.youtube.com/watch?v=345V2MU3E_w\">Kevin Powell’s walkthrough</a>.</p>\n\n<p>Also intrigued by the post he linked, “<a class=\"h-cite\" href=\"https://csswizardry.com/2023/09/the-ultimate-lqip-lcp-technique/\">The Ultimate Low-Quality Image Placeholder Technique</a>.”</p>",
"value": "I like this CSS image reset after watching Kevin Powell\u2019s walkthrough.\nAlso intrigued by the post he linked, \u201cThe Ultimate Low-Quality Image Placeholder Technique.\u201d",
"lang": "en"
}
],
Metadata
Metadata
Assignees
Labels
No labels