From: Gabriel Wicke Date: Tue, 1 Jun 2004 11:03:39 +0000 (+0000) Subject: keep unwrapped text arounf X-Git-Tag: 1.5.0alpha1~3097 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=32f3b62bab11c328b24db1aa3ad73d11db1c0d40;p=lhc%2Fweb%2Fwiklou.git keep unwrapped text arounf --- diff --git a/includes/Parser.php b/includes/Parser.php index 39cddd595f..255470792a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -435,7 +435,7 @@ class Parser $wgTidyOpts .= ' -raw'; } - $text = ''. 'test'.$text.''; $descriptorspec = array( @@ -445,7 +445,7 @@ class Parser ); $process = proc_open("$wgTidyBin -config $wgTidyConf $wgTidyOpts", $descriptorspec, $pipes); if (is_resource($process)) { - fwrite($pipes[0], $text); + fwrite($pipes[0], $wrappedtext); fclose($pipes[0]); while (!feof($pipes[1])) { $cleansource .= fgets($pipes[1], 1024);