Permalink
Browse files

Merge pull request #2075 from sourcejedi/patch-1

doc: xss_clean() method is in Security, not Input
  • Loading branch information...
2 parents f69973d + 93fa7e1 commit 594bfd726a1ecb4ac87cf035928395ed76b895b9 @narfbg narfbg committed Jan 3, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 user_guide_src/source/libraries/form_validation.rst
@@ -911,15 +911,15 @@ Prepping Reference
The following is a list of all the prepping methods that are available
to use:
-==================== ========= ===================================================================================================
+==================== ========= =======================================================================================================
Name Parameter Description
-==================== ========= ===================================================================================================
-**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Input Class <input>` page.
+==================== ========= =======================================================================================================
+**xss_clean** No Runs the data through the XSS filtering method, described in the :doc:`Security Class <security>` page.
**prep_for_form** No Converts special characters so that HTML data can be shown in a form field without breaking it.
**prep_url** No Adds "\http://" to URLs if missing.
**strip_image_tags** No Strips the HTML from image tags leaving the raw URL.
**encode_php_tags** No Converts PHP tags to entities.
-==================== ========= ===================================================================================================
+==================== ========= =======================================================================================================
.. note:: You can also use any native PHP functions that permits one
parameter, like ``trim()``, ``htmlspecialchars()``, ``urldecode()``,
@@ -1081,4 +1081,4 @@ This function is identical to the **set_checkbox()** function above.
::
<input type="radio" name="myradio" value="1" <?php echo set_radio('myradio', '1', TRUE); ?> />
- <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />
+ <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />

0 comments on commit 594bfd7

Please sign in to comment.