Should forcehtml
element attribute on in-line elements propagate to child elements?
#13
Labels
bug
Something isn't working
Currently, the below input HTML, where a text-formatting element (ie.
<b>
) has theforcehtml
attribute:gives this markdown output:
where the
forcehtml
doesn't propagate to the inner<s>
element.The question is, should it propagate or not?
Because the above markdown output renders fine in GitHub (with bold and strikethrough applied).
It seems that markdown syntax still works inside of HTML-syntax, as long as the outer element is an in-line-element like
<span>
,<b>
and<s>
, like:which properly renders as:
TEXTBut if the outer element is a block-element (eg.
<p>
) like below:It fails to render the inner markdown-syntax, like so:
~~TEXT~~
The text was updated successfully, but these errors were encountered: