fix: string element parsing
This commit is contained in:
parent
8a3a3dc099
commit
55130db04a
6 changed files with 22 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue