fix: style element parsing
This commit is contained in:
parent
de720d301d
commit
a6a289c594
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue