[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/mbstring/functions/_mb-substitute-character.xml?
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2017-09-28 17:39:56
Message-ID: svn-cmb-1506620396-343155-552945734 () svn ! php ! net
[Download RAW message or body]

cmb                                      Thu, 28 Sep 2017 17:39:56 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=343155

Log:
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.

Changed paths:
    U   phpdoc/en/trunk/reference/mbstring/functions/mb-substitute-character.xml

Modified: phpdoc/en/trunk/reference/mbstring/functions/mb-substitute-character.xml
===================================================================
--- phpdoc/en/trunk/reference/mbstring/functions/mb-substitute-character.xml	2017-09-28 \
                15:27:54 UTC (rev 343154)
+++ phpdoc/en/trunk/reference/mbstring/functions/mb-substitute-character.xml	2017-09-28 \
17:39:56 UTC (rev 343155) @@ -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>



-- 
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