summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers/xml_helper.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/helpers/xml_helper.rst')
-rw-r--r--user_guide_src/source/helpers/xml_helper.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/xml_helper.rst b/user_guide_src/source/helpers/xml_helper.rst
index 7d155e192..a40ea9ad3 100644
--- a/user_guide_src/source/helpers/xml_helper.rst
+++ b/user_guide_src/source/helpers/xml_helper.rst
@@ -30,7 +30,8 @@ The following functions are available:
:param string $str: the text string to convert
:param bool $protect_all: Whether to protect all content that looks like a potential entity instead of just numbered entities, e.g. &foo;
- :returns: string
+ :returns: XML-converted string
+ :rtype: string
Takes a string as input and converts the following reserved XML
characters to entities:
@@ -51,4 +52,4 @@ The following functions are available:
.. code-block:: html
- <p>Here is a paragraph & an entity ({).</p>
+ <p>Here is a paragraph & an entity ({).</p> \ No newline at end of file