Replace HTML plural-you markers with Unicode ⁺ #29

Merged
grams777 merged 1 commit from plural-marker into main 2026-02-22 07:21:02 +00:00
grams777 commented 2026-02-22 07:14:48 +00:00 (Migrated from github.com)

Summary

  • Replaces 4,096 instances of <sup><small>+</small></sup> with Unicode superscript plus (U+207A)
  • Source text files now contain zero HTML markup
  • PHP rendering layer needs a str_replace('⁺', '<sup><small>+</small></sup>', $text) to restore display

Why

  • Separates content from presentation
  • Source files are cleaner and easier to edit (28 chars → 1 char per marker)
  • Git diffs are readable — you⁺ instead of you<sup><small>+</small></sup>
  • The character renders natively in any UTF-8 viewer (GitHub, editors, terminal)

Scope

  • 65 files, 4,096 substitutions
  • Mechanical find-and-replace, zero semantic changes
  • Marker reviewed using Gemini 3.1 Pro (via OpenRouter) for Unicode safety, ambiguity, and compatibility

Test plan

  • Verify PHP rendering converts back to superscript HTML on the website
  • Spot-check a few books on updated.org after merge

🤖 Generated with Claude Code

## Summary - Replaces 4,096 instances of `<sup><small>+</small></sup>` with Unicode superscript plus `⁺` (U+207A) - Source text files now contain zero HTML markup - PHP rendering layer needs a `str_replace('⁺', '<sup><small>+</small></sup>', $text)` to restore display ## Why - Separates content from presentation - Source files are cleaner and easier to edit (28 chars → 1 char per marker) - Git diffs are readable — `you⁺` instead of `you<sup><small>+</small></sup>` - The `⁺` character renders natively in any UTF-8 viewer (GitHub, editors, terminal) ## Scope - 65 files, 4,096 substitutions - Mechanical find-and-replace, zero semantic changes - Marker reviewed using Gemini 3.1 Pro (via OpenRouter) for Unicode safety, ambiguity, and compatibility ## Test plan - [ ] Verify PHP rendering converts `⁺` back to superscript HTML on the website - [ ] Spot-check a few books on updated.org after merge 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.