cvs: pear /Text_Wiki/Text/Wiki/Rule code.php
| From: | Paul Jones | Date: | Fri, 21 May 2004 21:12:00 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Rule code.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-19747@lists.php.net to get a copy of this message | ||
pmjones Fri May 21 17:12:00 2004 EDT
Modified files:
/pear/Text_Wiki/Text/Wiki/Rule code.php
Log:
removed trim() from line 106 to leave leading and trailing white space in place in the output
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Rule/code.php?r1=1.3&r2=1.4&ty=u
Index: pear/Text_Wiki/Text/Wiki/Rule/code.php
diff -u pear/Text_Wiki/Text/Wiki/Rule/code.php:1.3 pear/Text_Wiki/Text/Wiki/Rule/code.php:1.4
--- pear/Text_Wiki/Text/Wiki/Rule/code.php:1.3 Sun May 2 19:16:46 2004
+++ pear/Text_Wiki/Text/Wiki/Rule/code.php Fri May 21 17:11:59 2004
@@ -16,7 +16,7 @@
// | Authors: Paul M. Jones <pmjones@ciaweb.net> |
// +----------------------------------------------------------------------+
//
-// $Id: code.php,v 1.3 2004/05/02 23:16:46 pmjones Exp $
+// $Id: code.php,v 1.4 2004/05/21 21:11:59 pmjones Exp $
/**
@@ -102,8 +102,7 @@
function renderXhtml($options)
{
- // trim opening and closing whitespace
- $text = trim($options['text']);
+ $text = $options['text'];
$args = $options['args'];
if (strtolower($args['type']) == 'php') {