Migrate jqhtml slot syntax from <#name> to <Slot:name>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -218,8 +218,8 @@ class Jqhtml_ManifestModule extends ManifestModule_Abstract
|
||||
{
|
||||
$slots = [];
|
||||
|
||||
// Match <#slotname> syntax
|
||||
preg_match_all('/<#(\w+)>/', $content, $matches);
|
||||
// Match <Slot:slotname> syntax
|
||||
preg_match_all('/<Slot:(\w+)>/', $content, $matches);
|
||||
|
||||
foreach ($matches[1] as $slot) {
|
||||
if ($slot && !in_array($slot, $slots)) {
|
||||
|
||||
Reference in New Issue
Block a user