add word boundaries to body tag regexp
This commit is contained in:
parent
40c276889b
commit
2aea43095d
|
@ -88,7 +88,7 @@ class StageMarker extends Base
|
||||||
*/
|
*/
|
||||||
protected function getRegexPattern(): string
|
protected function getRegexPattern(): string
|
||||||
{
|
{
|
||||||
return '/(<\s*body.*?>)/m';
|
return '/(<\s*\bbody\b.*?>)/m';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue