Add <%br= %> jqhtml syntax docs, class override detection, npm update
Document event handler placement and model fetch clarification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
node_modules/@jqhtml/parser/dist/lexer.js
generated
vendored
6
node_modules/@jqhtml/parser/dist/lexer.js
generated
vendored
@@ -8,6 +8,7 @@ export var TokenType;
|
||||
// JQHTML tags
|
||||
TokenType["EXPRESSION_START"] = "EXPRESSION_START";
|
||||
TokenType["EXPRESSION_UNESCAPED"] = "EXPRESSION_UNESCAPED";
|
||||
TokenType["EXPRESSION_BR"] = "EXPRESSION_BR";
|
||||
TokenType["CODE_START"] = "CODE_START";
|
||||
TokenType["TAG_END"] = "TAG_END";
|
||||
// Comments
|
||||
@@ -404,6 +405,11 @@ export class Lexer {
|
||||
this.scan_expression();
|
||||
return;
|
||||
}
|
||||
if (this.match_sequence('<%br=')) {
|
||||
this.add_token(TokenType.EXPRESSION_BR, '<%br=', start, this.position);
|
||||
this.scan_expression();
|
||||
return;
|
||||
}
|
||||
if (this.match_sequence('<%=')) {
|
||||
this.add_token(TokenType.EXPRESSION_START, '<%=', start, this.position);
|
||||
this.scan_expression();
|
||||
|
||||
Reference in New Issue
Block a user