From 32f3b62bab11c328b24db1aa3ad73d11db1c0d40 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Tue, 1 Jun 2004 11:03:39 +0000 Subject: [PATCH] keep unwrapped text arounf --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1