From 0cc8f380b38cee96be9f55b701b23c532ef3fd5a Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 27 Apr 2011 08:45:13 +0000 Subject: [PATCH] Fixed bug#54611 one functionality is left out git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310543 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/nl2br.xml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/reference/strings/functions/nl2br.xml b/reference/strings/functions/nl2br.xml index 82fe9300ab..ec440aad7d 100644 --- a/reference/strings/functions/nl2br.xml +++ b/reference/strings/functions/nl2br.xml @@ -15,7 +15,8 @@ Returns string with '<br />' or - '<br>' inserted before all newlines. + '<br>' inserted before all newlines (\r\n, + \n\r, \n and \r). @@ -54,7 +55,7 @@ &reftitle.examples; - using <function>nl2br</function> + Using <function>nl2br</function> This is my HTML document +]]> + + + + Various newline seperators + + +]]> + + &example.outputs; + + +is
+a
+string
]]>