Date: 05/22/01
- Next message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc / configure.in"
- Previous message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc /en/functions misc.xml"
- Next in thread: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc / configure.in"
- Previous message: Daniel Beckham: "[PHP-DOC] cvs: phpdoc /en/functions misc.xml"
- Next in thread: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

