reference/strings/functions/nl2br.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -11,7 +11,7 @@
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>nl2br</methodname>
13
13
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
-
<methodparam choice="opt"><type>bool</type><parameter>is_xhtml</parameter><initializer>&true;</initializer></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>use_xhtml</parameter><initializer>&true;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Returns <parameter>string</parameter> with <code>&lt;br /&gt;</code> or
...
...
@@ -33,7 +33,7 @@
33
33
</listitem>
34
34
</varlistentry>
35
35
<varlistentry>
36
-
<term><parameter>is_xhtml</parameter></term>
36
+
<term><parameter>use_xhtml</parameter></term>
37
37
<listitem>
38
38
<para>
39
39
Whether to use XHTML compatible line breaks or not.
...
...
@@ -72,7 +72,7 @@ foo isn't<br />
72
72
</screen>
73
73
</example>
74
74
<example>
75
-
<title>Generating valid HTML markup using the <parameter>is_xhtml</parameter> parameter</title>
75
+
<title>Generating valid HTML markup using the <parameter>use_xhtml</parameter> parameter</title>
76
76
<programlisting role="php">
77
77
<![CDATA[
78
78
<?php
...
...
@@ -111,31 +111,6 @@ string<br />
111
111
</para>
112
112
</refsect1>
113
113

114
-
<refsect1 role="changelog">
115
-
&reftitle.changelog;
116
-
<para>
117
-
<informaltable>
118
-
<tgroup cols="2">
119
-
<thead>
120
-
<row>
121
-
<entry>&Version;</entry>
122
-
<entry>&Description;</entry>
123
-
</row>
124
-
</thead>
125
-
<tbody>
126
-
<row>
127
-
<entry>5.3.0</entry>
128
-
<entry>
129
-
Added the optional <parameter>is_xhtml</parameter> parameter. Before
130
-
this version '&lt;br /&gt;' was always inserted.
131
-
</entry>
132
-
</row>
133
-
</tbody>
134
-
</tgroup>
135
-
</informaltable>
136
-
</para>
137
-
</refsect1>
138
-

139
114
<refsect1 role="seealso">
140
115
&reftitle.seealso;
141
116
<para>
...
...
@@ -149,7 +124,6 @@ string<br />
149
124
</refsect1>
150
125

151
126
</refentry>
152
-

153
127
<!-- Keep this comment at the end of the file
154
128
Local variables:
155
129
mode: sgml
156
130