parsedown
parsedown copied to clipboard
[bug] embeded <style> tag gets treated as text after the first code block
This bug report is for the latest 1.8 beta release included in Kirby CMS.
Embedded <style>
tag like so:
Some regular *markdown* text.
<style>
.red {
color:red;
}
.blue {
color:blue;
}
</style>
<span class="red">Some red text.</span>
<span class="blue">Some blue text.</span>
Is parsed as:
<p>Some regular <em>markdown</em> text.</p>
<style>
.red {
color:red;
}
<p>.blue {<br />
color:blue;<br />
}</p>
</style>
<p><span class="red">Some red text.</span></p>
<p><span class="blue">Some blue text.</span></p>