fix(parser): str_join separator '' not ' ' — CSS selectors were emitting spaces between tokens
El SDK CI - dev / build-and-test (pull_request) Successful in 3m45s

This commit is contained in:
2026-05-07 15:53:19 -05:00
parent 7b7f9f353b
commit f971e96dd5
+2 -2
View File
@@ -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})*