Improve table introduced with r339499

We replace the quotes with <literal>s and make a real table caption.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339500 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2016-06-25 23:49:54 +00:00
parent ef1b0b43d3
commit a10fa06420

View file

@ -34,8 +34,8 @@
You may have to use <function>mb_encode_numericentity</function> instead.
</para>
<para>
The translations performed are:
<informaltable>
<table>
<title>Performed translations</title>
<tgroup cols="2">
<thead>
<row>
@ -45,33 +45,33 @@
</thead>
<tbody>
<row>
<entry>'&amp;' (ampersand)</entry>
<entry>'&amp;amp;'</entry>
<entry><literal>&amp;</literal> (ampersand)</entry>
<entry><literal>&amp;amp;</literal></entry>
</row>
<row>
<entry>'&quot;' (double quote)</entry>
<entry>'&amp;quot;' when <constant>ENT_NOQUOTES</constant></entry>
<entry><literal>&quot;</literal> (double quote)</entry>
<entry><literal>&amp;quot;</literal> when <constant>ENT_NOQUOTES</constant></entry>
</row>
<row>
<entry>&quot;&#039;&quot; (single quote)</entry>
<entry><literal>&#039;</literal> (single quote)</entry>
<entry>
'&amp;#039;' (for <constant>ENT_HTML401</constant>) or &amp;apos; (for
<literal>&amp;#039;</literal> (for <constant>ENT_HTML401</constant>) or <literal>&amp;apos;</literal> (for
<constant>ENT_XML1</constant>, <constant>ENT_XHTML</constant> or
<constant>ENT_HTML5</constant>), but only when
<constant>ENT_QUOTES</constant> is set
</entry>
</row>
<row>
<entry>'&lt;' (less than)</entry>
<entry>'&amp;lt;'</entry>
<entry><literal>&lt;</literal> (less than)</entry>
<entry><literal>&amp;lt;</literal></entry>
</row>
<row>
<entry>'&gt;' (greater than)</entry>
<entry>'&amp;gt;'</entry>
<entry><literal>&gt;</literal> (greater than)</entry>
<entry><literal>&amp;gt;</literal></entry>
</row>
</tbody>
</tgroup>
</informaltable>
</table>
</para>
</refsect1>