Strikethrough over multiple lines
The Discourse project directed me to the nokigiri project who directed me to this project as the latter one is using CRuby which is using libxml2.
What’s happening is all the major browsers are applying an age-old fix by copying the <s>
tag onto each paragraph until the close tag. I've been told libxml does not reconstruct the active formatting elements but instead inserts a close tag for the strike-through at the end of the paragraph, as you would for any non-formatting mis-nested tag.
However, the age-old fix is officially specified as applying to a, b, big, code, em, font, i, nobr, s, small, strike, strong, tt, and u here.
As libxml does not support this, nokogiri does not support this, thus Discourse does not support this, thus an end-user (=me) sees a discrepancy between the browser preview section and what is eventually displayed in Jeff Atwood's Discourse software, used by the Manjaro project of which I'm a dumb end-user. ;-)
Example screenshot below:
Please note the difference between the markdown in the lower left side of the screenshot, the browser preview in the lower right side of the screenshot and the Discourse/nokigiri/CRuby/libxml2 upper part of the screenshot.
This is bloody annoying just a cosmetic issue, not business critical but the downstream developers have not brought this to your attention yet.
Please:
- Convince Apple, Google, Microsoft, Mozilla, Opera Software, ... to stop doing this in their respective browsers.
OR
- Please fix libxml, to include the same fix for the a, b, big, code, em, font, i, nobr, s, small, strike, strong, tt, and u tags please? 0:-)