Added some markup

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@118539 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Victor Boivie 2003-03-01 09:42:32 +00:00
parent 3f485b72cc
commit d8344ef6fa

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.htmlspecialchars">
<refnamediv>
@ -28,12 +28,12 @@
<simpara>
This function is useful in preventing user-supplied text from
containing HTML markup, such as in a message board or guest book
application. The optional second argument, quote_style, tells
application. The optional second argument, <parameter>quote_style</parameter>, tells
the function what to do with single and double quote characters.
The default mode, ENT_COMPAT, is the backwards compatible mode
The default mode, <constant>ENT_COMPAT</constant>, is the backwards compatible mode
which only translates the double-quote character and leaves the
single-quote untranslated. If ENT_QUOTES is set, both single and
double quotes are translated and if ENT_NOQUOTES is set neither
single-quote untranslated. If <constant>ENT_QUOTES</constant> is set, both single and
double quotes are translated and if <constant>ENT_NOQUOTES</constant> is set neither
single nor double quotes are translated.
</simpara>
<para>
@ -46,14 +46,14 @@
</listitem>
<listitem>
<simpara>
'&quot;' (double quote) becomes '&amp;quot;' when ENT_NOQUOTES
'&quot;' (double quote) becomes '&amp;quot;' when <constant>ENT_NOQUOTES</constant>
is not set.
</simpara>
</listitem>
<listitem>
<simpara>
'&#039;' (single quote) becomes '&amp;#039;' only when
ENT_QUOTES is set.
<constant>ENT_QUOTES</constant> is set.
</simpara>
</listitem>
<listitem>