Skip to content

label: Fix markup parsing interactions [cherry-pick from `main` to `gtk-3-24`]

Daniel Boles requested to merge dboles/issue3706gtk3 into gtk-3-24

We were not handling mnemonics vs markup right in all cases. Rewrite the _-stripping code to do it during the link parsing, instead of as a separate function. This avoids the issue of stripping _ from attribute names in markup.

Add tests.

Fixes: #3706 (closed)

dboles: cherrypick of mclasenʼs 875a92b9 only notable difference is expected output in test – unsure why?

Merge request reports

Loading