▲ 7 ▼ Code blocks from Lemmy get mangled here on Kbin (kbin.social) submitted 2 years ago by jaror@kbin.social to c/kbinMeta@kbin.social 4 comments fedilink hide all child comments For example see this comment: https://kbin.social/m/haskell/t/511582/Defeating-Return-Type-Polymorphism#entry-comment-2765579 There are so many <span> tags inserted into the code block that it has become completely unreadable. Is this a known problem?
[+] Pamasich@kbin.social 2 points 2 years ago* (last edited 2 years ago) (1 child) [deleted] permalink fedilink source hideshow 2 child comments replies: [–] troplin@kbin.social 3 points 2 years ago (1 child) I think Lemmy is correct here and the Mozilla docs only refer to the text content, not elements. It also mentions that < and > still have to be escaped to be displayed. The HTML spec https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element defines that the element contains „phrasing content“ which \ is part of. It even explicitly mentions nesting \ inside . permalink fedilink source parent hideshow 2 child comments replies: [–] Pamasich@kbin.social 1 point 2 years ago You're right, I only read the beginning of article, the Mozilla docs also mention the phrasing content later on the same page. Guess it's really on kbin then to fix this. permalink fedilink source parent
[–] troplin@kbin.social 3 points 2 years ago (1 child) I think Lemmy is correct here and the Mozilla docs only refer to the text content, not elements. It also mentions that < and > still have to be escaped to be displayed. The HTML spec https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element defines that the element contains „phrasing content“ which \ is part of. It even explicitly mentions nesting \ inside . permalink fedilink source parent hideshow 2 child comments replies: [–] Pamasich@kbin.social 1 point 2 years ago You're right, I only read the beginning of article, the Mozilla docs also mention the phrasing content later on the same page. Guess it's really on kbin then to fix this. permalink fedilink source parent
[–] Pamasich@kbin.social 1 point 2 years ago You're right, I only read the beginning of article, the Mozilla docs also mention the phrasing content later on the same page. Guess it's really on kbin then to fix this. permalink fedilink source parent