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?

You are viewing a single thread.
View all comments View context
3 points

I think Lemmy is correct here and the Mozilla docs only refer to the text content, not elements. It also mentions that &lt; 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
report
parent
reply
1 point

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
report
parent
reply

/kbin meta

!kbinMeta@kbin.social

Create post

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

Community stats

  • 1

    Monthly active users

  • 653

    Posts

  • 5.5K

    Comments

Community moderators