We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b2280 commit d23d97fCopy full SHA for d23d97f
src/CustomBladeCompiler.php
@@ -29,7 +29,7 @@ protected function compileComponentTags($view)
29
*/
30
public static function regexForTag(string $tag): string
31
{
32
- return '/(<\s*' . $tag . '[^>]*>)(.|\n)*?(<\/' . $tag . '>)/';
+ return '/(<\s*' . $tag . '(?:"[^"]*"|\'[^\']*\'|[^\'">])*>)(.|\n)*?(<\/' . $tag . '>)/';
33
}
34
35
/**
0 commit comments