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

ChangeLog
t3lib/class.t3lib_parsehtml.php

index e5e7c9e..5b42a98 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-25  Jigal van Hemert <jigal@xs4all.nl>
+
+       * Fixed bug #16322: Incorrect regexp in substituteMarkerArray
+       
 2010-11-24  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #16124: htmlArea RTE: Links are incorrectly updated in Google Chrome
index b9521a5..12a3d15 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);
                        }
                }