From: Brion Vibber Date: Sat, 4 Jun 2005 22:49:08 +0000 (+0000) Subject: * (bug 2319) Fix parse hook tag matching X-Git-Tag: 1.5.0beta1~223 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=2097b8a72fcfb4c2216e5fcb894c3481c4741022;p=lhc%2Fweb%2Fwiklou.git * (bug 2319) Fix parse hook tag matching --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d818a3201a..42ccc3a353 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -261,6 +261,7 @@ Various bugfixes, small features, and a few experimental things: * (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external LDAP authentication plugin * (bug 2034) Armor HTML attributes against template inclusion and links munging +* (bug 2319) Fix parse hook tag matching === Caveats === diff --git a/includes/Parser.php b/includes/Parser.php index d9fa2af7e7..ce41c00876 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -278,7 +278,7 @@ class Parser $start = '//'; } else { - $start = "/<$tag([^>]*)>/i"; + $start = "/<$tag(\\s+[^>]*|\\s*)>/i"; $end = "/<\\/$tag\\s*>/i"; }