danbeck Tue May 22 09:11:31 2001 EDT
Modified files:
/phpdoc/en/functions strings.xml
Log:
clarified XHTML compatibility change to nl2br
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.88 phpdoc/en/functions/strings.xml:1.89
--- phpdoc/en/functions/strings.xml:1.88 Mon May 21 10:56:06 2001
+++ phpdoc/en/functions/strings.xml Tue May 22 09:11:30 2001
@@ -1389,11 +1389,14 @@
Returns <parameter>string</parameter> with '<br />' inserted
before all newlines.
</para>
+ <note>
<para>
- Until PHP 4.0.5, <function>nl2br</function> will return
- <parameter>string</parameter> with '<br>' inserted
- before all newlines.
+ Starting with PHP 4.0.5, <function>nl2br</function> is now XHTML
+ complaint. All versions before 4.0.5 will return
+ <parameter>string</parameter> with '<br>' inserted before
+ newlines instead of '<br />'.
</para>
+ </note>
<para>
See also <function>htmlspecialchars</function>,
<function>htmlentities</function> and
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Ron Chmara
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jani Taskinen
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Ron Chmara
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Rasmus Lerdorf
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Anil Madhavapeddy
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Anil Madhavapeddy
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jani Taskinen
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jeroen van Wolffelaar
- Re: [PHP-DOC] cvs: phpdoc /en/functions strings.xml derick
- Re: [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Martin Kraemer
- [PHP-DOC] cvs: phpdoc /en/functions strings.xml Jeroen van Wolffelaar
- Re: [PHP-DOC] cvs: phpdoc /en/functions strings.xml Damien Seguy
