svn: /phpdoc/bg/trunk/reference/strings/functions/ htmlspecialchars.xml

From: Date: Mon, 27 Jun 2016 23:00:48 +0000
Subject: svn: /phpdoc/bg/trunk/reference/strings/functions/ htmlspecialchars.xml
Groups: php.doc.bg 
Request: Send a blank email to doc-bg+get-3052@lists.php.net to get a copy of this message
stanprog Mon, 27 Jun 2016 23:00:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339510 Log: sync with EN Changed paths: U phpdoc/bg/trunk/reference/strings/functions/htmlspecialchars.xml Modified: phpdoc/bg/trunk/reference/strings/functions/htmlspecialchars.xml =================================================================== --- phpdoc/bg/trunk/reference/strings/functions/htmlspecialchars.xml 2016-06-27 14:14:18 UTC (rev 339509) +++ phpdoc/bg/trunk/reference/strings/functions/htmlspecialchars.xml 2016-06-27 23:00:48 UTC (rev 339510) @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 334627 Maintainer: stanprog Status: ready --> +<!-- EN-Revision: 339500 Maintainer: stanprog Status: ready --> +<!-- Reviewed: no Maintainer: stanprog --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.htmlspecialchars" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>htmlspecialchars</refname> @@ -35,36 +36,44 @@ Вместо нея ще трябва да използвате функция <function>mb_encode_numericentity</function>. </para> <para> - Поддържаните преобразувания са: - <itemizedlist> - <listitem> - <simpara> - '&amp;' (амперсанд) се преобразува до '&amp;amp;' - </simpara> - </listitem> - <listitem> - <simpara> - '&quot;' (двойни кавички) се преобразува до '&amp;quot;' когато <constant>ENT_NOQUOTES</constant> - не е установен. - </simpara> - </listitem> - <listitem> - <simpara> - &quot;&#039;&quot; (единични кавички) се преобразува до '&amp;#039;' (или &amp;apos;) - само когато <constant>ENT_QUOTES</constant> е установен. - </simpara> - </listitem> - <listitem> - <simpara> - '&lt;' (знак "по-малко") се преобразува до '&amp;lt;' - </simpara> - </listitem> - <listitem> - <simpara> - '&gt;' (знак "по-голямо") се преобразува до '&amp;gt;' - </simpara> - </listitem> - </itemizedlist> + <table> + <title>Поддържани преобразувания</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Знак</entry> + <entry>Замяна</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>&amp;</literal> (амперсанд)</entry> + <entry><literal>&amp;amp;</literal></entry> + </row> + <row> + <entry><literal>&quot;</literal> (двойна кавичка)</entry> + <entry><literal>&amp;quot;</literal> при <constant>ENT_NOQUOTES</constant></entry> + </row> + <row> + <entry><literal>&#039;</literal> (единична кавичка)</entry> + <entry> + <literal>&amp;#039;</literal> (за <constant>ENT_HTML401</constant>) или <literal>&amp;apos;</literal> (for + <constant>ENT_XML1</constant>, <constant>ENT_XHTML</constant> или + <constant>ENT_HTML5</constant>), но само когато е установена + <constant>ENT_QUOTES</constant> + </entry> + </row> + <row> + <entry><literal>&lt;</literal> (по-малко)</entry> + <entry><literal>&amp;lt;</literal></entry> + </row> + <row> + <entry><literal>&gt;</literal> (по-голямо)</entry> + <entry><literal>&amp;gt;</literal></entry> + </row> + </tbody> + </tgroup> + </table> </para> </refsect1>

« previous php.doc.bg (#3052) next »