mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2025-01-03 22:57:21 +00:00
fix processing of escaped characters in backtick operator
This commit is contained in:
parent
a33ff617d8
commit
a243f9b665
@ -192,7 +192,7 @@ abstract class JEDCheckerHelper
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case '`':
|
case '`':
|
||||||
if (!preg_match("/`.*?`/As", $content, $match, 0, $pos))
|
if (!preg_match("/`(?>[^`\\\\]+|\\\\.)*`/As", $content, $match, 0, $pos))
|
||||||
{
|
{
|
||||||
return $cleanContent . substr($content, $pos);
|
return $cleanContent . substr($content, $pos);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user