mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-29 04:42:36 +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;
|
||||
|
||||
case '`':
|
||||
if (!preg_match("/`.*?`/As", $content, $match, 0, $pos))
|
||||
if (!preg_match("/`(?>[^`\\\\]+|\\\\.)*`/As", $content, $match, 0, $pos))
|
||||
{
|
||||
return $cleanContent . substr($content, $pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user