Files
test-repo/changelog_unreleased/markdown/17424.md
T
82955f1d02 Fix Markdown emphasis near non-breaking space (#19066)
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 07:17:31 +08:00

582 B

Fix Markdown emphasis near non-breaking space (#17424 by @rkdfx)

Underscore-style emphasis adjacent to a Unicode whitespace (e.g. non-breaking space) was being rewritten to asterisks, because the surrounding text was treated as a regular word.

<!-- Input -->
- _REPORTED_ — message received;
- _NEEDSINFO_ — additional info needed;

<!-- Prettier stable -->
- *REPORTED* — message received;
- *NEEDSINFO* — additional info needed;

<!-- Prettier main -->
- _REPORTED_ — message received;
- _NEEDSINFO_ — additional info needed;