OpenTermsArchive / contribution-tool

[prototype] Interactively declare services to be tracked in Open Terms Archive
European Union Public License 1.2
0 stars 3 forks source link

Markdown bold with newline does not display correctly #144

Closed Kissaki closed 1 year ago

Kissaki commented 1 year ago

<strong><br></strong> will be converted to **\n**, which at least in the contribute tool "Verify version" preview rendering does not bold them.

Occurred in Ikea Tracker Policy - see https://github.com/OpenTermsArchive/contrib-declarations/pull/833#discussion_r1135185425

I think this is an issue with the contribution tool "Verify version" preview not rendering Markdown correctly. May also touch guidelines/intended Markdown markup.

image image

In https://github.com/OpenTermsArchive/contrib-declarations/pull/833 we worked around this by dropping strong br elements (no text follows the br within the strong).

MattiSG commented 1 year ago

This is a case of https://github.com/mixmark-io/turndown/pull/123. It is a wontfix on the Open Terms Archive side, unfortunately.