cvs: pear /HTML_Template_Flexy/Flexy/Filter Xml.php
| From: | Alan Knowles | Date: | Sat, 24 Aug 2002 05:32:53 +0000 |
| Subject: | cvs: pear /HTML_Template_Flexy/Flexy/Filter Xml.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5921@lists.php.net to get a copy of this message | ||
alan_k Sat Aug 24 01:32:53 2002 EDT
Modified files:
/pear/HTML_Template_Flexy/Flexy/Filter Xml.php
Log:
fix php nice habit of stripping CR
Index: pear/HTML_Template_Flexy/Flexy/Filter/Xml.php
diff -u pear/HTML_Template_Flexy/Flexy/Filter/Xml.php:1.1
pear/HTML_Template_Flexy/Flexy/Filter/Xml.php:1.2
--- pear/HTML_Template_Flexy/Flexy/Filter/Xml.php:1.1 Fri Aug 23 02:55:21 2002
+++ pear/HTML_Template_Flexy/Flexy/Filter/Xml.php Sat Aug 24 01:32:53 2002
@@ -47,7 +47,7 @@
*/
function pre_replace_xml ($input)
{
- $input = str_replace("?>","<?php echo '?'.'>';
?>",$input);
+ $input = str_replace("?>","<?php echo '?'.'>';
?>\n",$input);
$input = str_replace("<?xml","<?php echo
'<'.'?xml'; ?>",$input);
return $input;
}
@@ -55,4 +55,4 @@
}
-?>
\ No newline at end of file
+?>