victor Sat Mar 1 04:42:32 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions htmlspecialchars.xml
Log:
Added some markup
Index: phpdoc/en/reference/strings/functions/htmlspecialchars.xml
diff -u phpdoc/en/reference/strings/functions/htmlspecialchars.xml:1.4
phpdoc/en/reference/strings/functions/htmlspecialchars.xml:1.5
--- phpdoc/en/reference/strings/functions/htmlspecialchars.xml:1.4 Fri Feb 28
18:47:53 2003
+++ phpdoc/en/reference/strings/functions/htmlspecialchars.xml Sat Mar 1 04:42:32
2003
@@ -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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php