Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f971e96dd5 | |||
| 7b7f9f353b |
@@ -332,7 +332,7 @@ fn parse_raw_text_content(tokens: [Any], pos: Int, tag_name: String) -> Map<Stri
|
||||
}
|
||||
}
|
||||
}
|
||||
{ "text": str_join(parts, " "), "pos": p }
|
||||
{ "text": str_join(parts, ""), "pos": p }
|
||||
}
|
||||
|
||||
// Collect tokens as text content until we hit Lt, LBrace, Eof, or a
|
||||
@@ -362,7 +362,7 @@ fn parse_html_text_tokens(tokens: [Any], pos: Int) -> Map<String, Any> {
|
||||
}
|
||||
}
|
||||
}
|
||||
{ "text": str_join(parts, " "), "pos": p }
|
||||
{ "text": str_join(parts, ""), "pos": p }
|
||||
}
|
||||
|
||||
// Parse an attribute list: (attrname | attrname="val" | attrname={expr})*
|
||||
|
||||
Reference in New Issue
Block a user