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:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user