[ci skip] Fix #3515
diff --git a/user_guide_src/source/helpers/security_helper.rst b/user_guide_src/source/helpers/security_helper.rst
index 2e26890..103880c 100644
--- a/user_guide_src/source/helpers/security_helper.rst
+++ b/user_guide_src/source/helpers/security_helper.rst
@@ -24,7 +24,7 @@
The following functions are available:
-.. function:: xss_clean($str[, $is_image = FALSE])
+.. php:function:: xss_clean($str[, $is_image = FALSE])
:param string $str: Input data
:param bool $is_image: Whether we're dealing with an image
@@ -36,7 +36,7 @@
This function is an alias for ``CI_Input::xss_clean()``. For more info,
please see the :doc:`Input Library <../libraries/input>` documentation.
-.. function:: sanitize_filename($filename)
+.. php:function:: sanitize_filename($filename)
:param string $filename: Filename
:returns: Sanitized file name
@@ -49,7 +49,7 @@
documentation.
-.. function:: do_hash($str[, $type = 'sha1'])
+.. php:function:: do_hash($str[, $type = 'sha1'])
:param string $str: Input
:param string $type: Algorithm
@@ -73,7 +73,7 @@
.. note:: This function is DEPRECATED. Use the native ``hash()`` instead.
-.. function:: strip_image_tags($str)
+.. php:function:: strip_image_tags($str)
:param string $str: Input string
:returns: The input string with no image tags
@@ -91,7 +91,7 @@
documentation.
-.. function:: encode_php_tags($str)
+.. php:function:: encode_php_tags($str)
:param string $str: Input string
:returns: Safely formatted string
@@ -99,7 +99,7 @@
This is a security function that converts PHP tags to entities.
- .. note:: :func:`xss_clean()` does this automatically, if you use it.
+ .. note:: :php:func:`xss_clean()` does this automatically, if you use it.
Example::