From 5df1c51595f9dad7923be46ef16396123dfbe24b Mon Sep 17 00:00:00 2001
From: Nuno Lopes <nlopess@php.net>
Date: Mon, 12 Apr 2004 16:32:57 +0000
Subject: [PATCH] user note: wrong output from example 1

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155785 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/strings/functions/wordwrap.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/reference/strings/functions/wordwrap.xml b/reference/strings/functions/wordwrap.xml
index 75fe090b9c..36d9ccd66d 100644
--- a/reference/strings/functions/wordwrap.xml
+++ b/reference/strings/functions/wordwrap.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 -->
   <refentry id="function.wordwrap">
    <refnamediv>
@@ -48,9 +48,9 @@
 <![CDATA[
 <?php
 $text = "The quick brown fox jumped over the lazy dog.";
-$newtext = wordwrap($text, 20, "<br />");
+$newtext = wordwrap($text, 20, "<br />\n");
 
-echo "$newtext\n";
+echo $newtext;
 ?>
 ]]>
     </programlisting>
@@ -59,9 +59,9 @@ echo "$newtext\n";
     </para>
     <screen>
 <![CDATA[
-The quick brown fox
-jumped over the 
-lazy dog.
+The quick brown fox<br />
+jumped over the lazy<br />
+dog.
 ]]>
      </screen>
     </example>