mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
3f485b72cc
commit
d8344ef6fa
1 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||
'"' (double quote) becomes '&quot;' when ENT_NOQUOTES
|
||||
'"' (double quote) becomes '&quot;' when <constant>ENT_NOQUOTES</constant>
|
||||
is not set.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
''' (single quote) becomes '&#039;' only when
|
||||
ENT_QUOTES is set.
|
||||
<constant>ENT_QUOTES</constant> is set.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
|
Loading…
Reference in a new issue