Properly escape entity

The example value is supposed to be displayed as HTML entity, so we have
to escape the ampersand.  We also mark the example results as literals.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343155 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2017-09-28 17:39:56 +00:00
parent 119fb4697c
commit ff2d928f5c

View file

@ -45,13 +45,13 @@
<listitem>
<simpara>
<literal>"long"</literal>: Output character code value (Example:
U+3000, JIS+7E7E)
<literal>U+3000</literal>, <literal>JIS+7E7E</literal>)
</simpara>
</listitem>
<listitem>
<simpara>
<literal>"entity"</literal>: Output character entity (Example:
&#x200;)
<literal>&amp;#x200;</literal>)
</simpara>
</listitem>
</itemizedlist>