[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/strings/functions/_htmlspecialchars.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2016-06-25 23:49:54
Message-ID: svn-cmb-1466898594-339500-718991193 () svn ! php ! net
[Download RAW message or body]
cmb Sat, 25 Jun 2016 23:49:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339500
Log:
Improve table introduced with r339499
We replace the quotes with <literal>s and make a real table caption.
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
Modified: phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2016-06-25 \
23:35:39 UTC (rev 339499)
+++ phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2016-06-25 \
23:49:54 UTC (rev 339500) @@ -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>'&' (ampersand)</entry>
- <entry>'&amp;'</entry>
+ <entry><literal>&</literal> (ampersand)</entry>
+ <entry><literal>&amp;</literal></entry>
</row>
<row>
- <entry>'"' (double quote)</entry>
- <entry>'&quot;' when <constant>ENT_NOQUOTES</constant></entry>
+ <entry><literal>"</literal> (double quote)</entry>
+ <entry><literal>&quot;</literal> when \
<constant>ENT_NOQUOTES</constant></entry> </row>
<row>
- <entry>"'" (single quote)</entry>
+ <entry><literal>'</literal> (single quote)</entry>
<entry>
- '&#039;' (for <constant>ENT_HTML401</constant>) or &apos; (for
+ <literal>&#039;</literal> (for <constant>ENT_HTML401</constant>) or \
<literal>&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>'<' (less than)</entry>
- <entry>'&lt;'</entry>
+ <entry><literal><</literal> (less than)</entry>
+ <entry><literal>&lt;</literal></entry>
</row>
<row>
- <entry>'>' (greater than)</entry>
- <entry>'&gt;'</entry>
+ <entry><literal>></literal> (greater than)</entry>
+ <entry><literal>&gt;</literal></entry>
</row>
</tbody>
</tgroup>
- </informaltable>
+ </table>
</para>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic