fix: style element parsing

This commit is contained in:
trisua 2025-07-26 12:59:08 -04:00
parent de720d301d
commit a6a289c594
2 changed files with 5 additions and 1 deletions

View file

@ -639,7 +639,7 @@ macro_rules! parser_ignores_pre {
let mut pre_idx = 0;
for line in $input.split("\n") {
if line.starts_with("```") | (line == "<style>") | (line == "</style>") {
if line.starts_with("```") {
in_pre_block = !in_pre_block;
pre_idx += 1;