From 0d6378dbdd56c5f115a6272bfccd20d854b83fa3 Mon Sep 17 00:00:00 2001 From: rurban Date: Tue, 19 Oct 2004 13:23:06 +0000 Subject: [PATCH] fixed: Unknown modifier "g" git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4048 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/HtmlParser.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/HtmlParser.php b/lib/HtmlParser.php index 9638f8c67..41e00344f 100644 --- a/lib/HtmlParser.php +++ b/lib/HtmlParser.php @@ -1,5 +1,5 @@ wikimarkup * Requires XmlParser, XmlElement and the expat library @@ -106,7 +106,7 @@ extends XmlParser } else { $output = $node; if ($parent and $parent->_tag != 'pre') - preg_replace("/ {2,}/g"," ",$output); + preg_replace("/ {2,}/"," ",$output); if (trim($output) == '') $output = ''; } @@ -410,6 +410,9 @@ extends HtmlParser } // $Log: not supported by cvs2svn $ +// Revision 1.1 2004/05/24 17:31:31 rurban +// new XmlParser and HtmlParser, RssParser based on that. +// // // For emacs users -- 2.45.0