Skip to content

Encode supplementary characters in enriched link titles - #40

Open
rizen wants to merge 1 commit into
masterfrom
codex/issue-1549-link-title-encoding
Open

Encode supplementary characters in enriched link titles#40
rizen wants to merge 1 commit into
masterfrom
codex/issue-1549-link-title-encoding

Conversation

@rizen

@rizen rizen commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

  • encode four-byte characters from remote page titles as numeric HTML entities
  • preserve the visible character while keeping generated HTML compatible with MySQL three-byte UTF-8 fields
  • prevent database truncation from leaving the rest of a shop page inside an open link

TDD evidence

  • Red: author.t/contentfilter_supplementary_title.t returned the raw four-byte balloon character
  • Green: prove -lv author.t/contentfilter_supplementary_title.t author.t/markdown.t passes 24 assertions

Fixes plainblack/TGC#1549

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.

1 participant