Update npm packages
Add --dump-dimensions option to rsx:debug for layout debugging Mark framework publish 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
9
node_modules/@jqhtml/parser/dist/parser.js
generated
vendored
Executable file → Normal file
9
node_modules/@jqhtml/parser/dist/parser.js
generated
vendored
Executable file → Normal file
@@ -625,10 +625,11 @@ export class Parser {
|
||||
this.check(TokenType.EXPRESSION_UNESCAPED)) {
|
||||
if (this.check(TokenType.ATTR_VALUE)) {
|
||||
const token = this.advance();
|
||||
// Trim whitespace from attribute value text parts to avoid extra newlines
|
||||
const trimmedValue = token.value.trim();
|
||||
if (trimmedValue.length > 0) {
|
||||
parts.push({ type: 'text', value: trimmedValue, escaped: true });
|
||||
// Preserve whitespace in interpolated attribute values - spaces between
|
||||
// expressions and text are significant (e.g., "<%= expr %> suffix")
|
||||
// Only skip completely empty parts
|
||||
if (token.value.length > 0) {
|
||||
parts.push({ type: 'text', value: token.value, escaped: true });
|
||||
}
|
||||
}
|
||||
else if (this.check(TokenType.EXPRESSION_START) ||
|
||||
|
||||
Reference in New Issue
Block a user