Refactor jqhtml integration to use jqhtml.boot() and migrate blade highlighting to jqhtml extension

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-25 03:33:09 +00:00
parent bd5809fdbd
commit 9be3dfc14e
58 changed files with 817 additions and 672 deletions

View File

@@ -149,13 +149,13 @@ class JqhtmlBladeCompiler
}
// Build HTML attributes string
// Handle class attribute specially to merge with Component_Init
$class_value = 'Component_Init';
// Handle class attribute specially to merge with _Component_Init
$class_value = '_Component_Init';
if (isset($html_attrs['class'])) {
if ($html_attrs['class']['type'] === 'expression') {
$class_value = "Component_Init ' . {$html_attrs['class']['value']} . '";
$class_value = "_Component_Init ' . {$html_attrs['class']['value']} . '";
} else {
$class_value = 'Component_Init ' . $html_attrs['class']['value'];
$class_value = '_Component_Init ' . $html_attrs['class']['value'];
}
}
@@ -229,13 +229,13 @@ class JqhtmlBladeCompiler
}
// Build HTML attributes string
// Handle class attribute specially to merge with Component_Init
$class_value = 'Component_Init';
// Handle class attribute specially to merge with _Component_Init
$class_value = '_Component_Init';
if (isset($html_attrs['class'])) {
if ($html_attrs['class']['type'] === 'expression') {
$class_value = "Component_Init ' . {$html_attrs['class']['value']} . '";
$class_value = "_Component_Init ' . {$html_attrs['class']['value']} . '";
} else {
$class_value = 'Component_Init ' . $html_attrs['class']['value'];
$class_value = '_Component_Init ' . $html_attrs['class']['value'];
}
}