Fix expression concatenation in attribute values

- Lexer now emits a single token for the entire expression (e.g., "btn btn-" + type)
- Runtime evaluateExpression now handles + operator for string concatenation
- Added findConcatOperator to safely find operators outside quotes/brackets
This commit is contained in:
2026-01-17 19:35:49 +05:30
parent 8878b630cb
commit 05bbad64a4
4 changed files with 153 additions and 98 deletions

View File

@@ -0,0 +1,9 @@
doctype html
html
head
title hello
body
p some thing
| ballah
| ballah
+btn("click me ", "secondary")