You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, <div> are handled by a noop rule, meaning they aren't stripped but they only pass-on their converted inner-contents to their parents. They themselves don't have any markdown conversions, not even in HTML-syntax.
For example, the below 2 HTML:
<div>
TEXT
</div>
<divaligned="center">
TEXT
</div>
both gives the same output of:
TEXT
The problem
<div> in markdowns aren't stripped when being rendered in Github.
For example, they can be used to center images, like:
<divalign=center><imgsrc="..."></div>
Thus, they should not be converted by a noop rule.
The text was updated successfully, but these errors were encountered:
Context
Currently,
<div>
are handled by a noop rule, meaning they aren't stripped but they only pass-on their converted inner-contents to their parents. They themselves don't have any markdown conversions, not even in HTML-syntax.For example, the below 2 HTML:
both gives the same output of:
The problem
<div>
in markdowns aren't stripped when being rendered in Github.For example, they can be used to center images, like:
Thus, they should not be converted by a noop rule.
The text was updated successfully, but these errors were encountered: