fix(content): preserve numbers within retirement notice prose #369
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/notice-numbered-paragraph-times"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retirement notices currently insert paragraph breaks before any whitespace-separated number followed by a period. This splits French times such as
11 h 30.and13 H 30.before the minutes, and splitsROTO 6.in an English notice.Recognize inline numbered paragraphs only after a sentence boundary and before paragraph text. Preserve authored line breaks and French nonbreaking whitespace. This changes display formatting only; no source copy, translations, API, stored records, styles, or Last Post renderer are changed. Last Post continues to use the existing shared linkifier directly.
Validation:
11 h 30., Czarnowske13 H 30., and YoungROTO 6.excerpts, compact/spaced hour forms, NBSP/narrow NBSP, decimals, dates, URLs, embedded numbers, genuine numbered paragraphs, line endings, and bilingual renderer/linkifier wiring.npm testpasses, including runtime/syntax/lint, 440 unit tests, 3 OpenAPI contract tests, and Mongo-backed integration tests. Changed-file Prettier andgit diff --checkpass.Prepared from fresh main
679bfa53afd6236a0e9449091c7583a332f52efe, preserving PR #368. No deployment or live content changes.WIP: fix(content): preserve numbers within retirement notice proseto fix(content): preserve numbers within retirement notice prose