Skip to content

Conversation

@KuJoe
Copy link
Contributor

@KuJoe KuJoe commented Oct 1, 2025

Enhanced the escaping and decoding of HTML entities for meta tag content in head_contents() and generate_meta() functions. This ensures that apostrophes and similar entities are consistently converted to single quotes, improving the accuracy and readability of generated meta tags.

This prevents website previews/embeds from showing things like don't and can't instead of don't and can't.

Enhanced the escaping and decoding of HTML entities for meta tag content in head_contents() and generate_meta() functions. This ensures that apostrophes and similar entities are consistently converted to single quotes, improving the accuracy and readability of generated meta tags.
@danpros
Copy link
Owner

danpros commented Oct 1, 2025

Hi,

Is this tested again some funny string for description/title eg. < > or quote etc.? sometimes users add This is "me" as blog title/description etc. or this is 'cool' just in case some html code added to the title / description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants