cvs: phpdoc /scripts html_syntax.php
| From: | Mehdi Achour | Date: | Sat, 03 Feb 2007 19:42:43 +0000 |
| Subject: | cvs: phpdoc /scripts html_syntax.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375210@lists.php.net to get a copy of this message | ||
didou Sat Feb 3 19:42:43 2007 UTC
Modified files:
/phpdoc/scripts html_syntax.php
Log:
<br/>ify
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/html_syntax.php?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/scripts/html_syntax.php
diff -u phpdoc/scripts/html_syntax.php:1.10 phpdoc/scripts/html_syntax.php:1.11
--- phpdoc/scripts/html_syntax.php:1.10 Sat Feb 3 19:35:46 2007
+++ phpdoc/scripts/html_syntax.php Sat Feb 3 19:42:43 2007
@@ -64,7 +64,7 @@
'<span class="tags"><![<span
class="keyword">CDATA</span>[</span><span
class="cdata">$1</span><span
class="tags">]]></span>'
);
- return '<div class="xmlcode">' . preg_replace($match, $replace,
$source) . '</div>';
+ return '<div class="xmlcode">' . nl2br(preg_replace($match, $replace,
$source)) . '</div>';
}
$files = $_SERVER["argv"];