Files
marked/test
Luan Taraschi b699db3c6d fix: keep emphasis in the text of a rejected reference link (#4059)
A reference link candidate whose text already holds a link never becomes
a link, but the mask em and strong read still flattened the whole span,
so every emphasis marker inside it was invisible.

Mask the links the text holds instead of the span, and leave images
alone, since an image may hold a link.

Fixes CommonMark example 533.
2026-08-24 09:00:46 -06:00
..