mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-30 08:44:02 +00:00
fix processing of escaped characters in strings
This commit is contained in:
parent
a243f9b665
commit
227b182bd7
@ -309,7 +309,7 @@ abstract class JEDCheckerHelper
|
||||
$pos = 0;
|
||||
$cleanContent = '';
|
||||
|
||||
while (preg_match('/\n|\\|\{\$|\$\{/', $content, $match, PREG_OFFSET_CAPTURE, $pos))
|
||||
while (preg_match('/\n|\\\\|\{\$|\$\{/', $content, $match, PREG_OFFSET_CAPTURE, $pos))
|
||||
{
|
||||
$foundPos = $match[0][1];
|
||||
$cleanContent .= substr($content, $pos, $foundPos - $pos);
|
||||
|
Loading…
Reference in New Issue
Block a user