Skip to content

label: Fix markup parsing interactions

Matthias Clasen requested to merge label-mnemonic-fix into master

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

Merge request reports