Fixed bug #16322: Incorrect regexp in substituteMarkerArray (CGL)
authorJigal van Hemert <jigal@xs4all.nl>
Thu, 25 Nov 2010 17:48:04 +0000 (17:48 +0000)
committerJigal van Hemert <jigal@xs4all.nl>
Thu, 25 Nov 2010 17:48:04 +0000 (17:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@9628 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_parsehtml.php

index 5dbe577..51b8813 100644 (file)
@@ -320,7 +320,7 @@ class t3lib_parsehtml       {
                                        $wrapArr = array('###', '###');
                                }
 
-                               $content = preg_replace('/'.preg_quote($wrapArr[0]).'([A-Z0-9_|\-]*)'.preg_quote($wrapArr[1]).'/is', '', $content);
+                               $content = preg_replace('/' . preg_quote($wrapArr[0]) . '([A-Z0-9_|\-]*)' . preg_quote($wrapArr[1]) . '/is', '', $content);
                        }
                }