Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] embeded <style> tag gets treated as text after the first code block #852

Open
miragecraft opened this issue Aug 15, 2023 · 0 comments

Comments

@miragecraft
Copy link

miragecraft commented Aug 15, 2023

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant