fix: string element parsing

This commit is contained in:
trisua 2025-05-30 21:06:35 -04:00
parent 8a3a3dc099
commit 55130db04a
6 changed files with 22 additions and 3 deletions

View file

@ -94,7 +94,7 @@ pub fn expr_parser(buf: &str) -> Element {
// parse tag first as it is the first thing
if !finished_parsing_tag {
if (char == ' ') | (char == '\n') {
if (char == ' ') | (char == '\n') | (char == '"') {
finished_parsing_tag = true;
continue;
}