[ci skip] Replace incorrect usage of 'then', where it should be 'than'
diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst
index 3c6430f..788fe8b 100644
--- a/user_guide_src/source/helpers/text_helper.rst
+++ b/user_guide_src/source/helpers/text_helper.rst
@@ -50,7 +50,7 @@
Truncates a string to the number of *characters* specified. It
maintains the integrity of words so the character count may be slightly
- more or less then what you specify.
+ more or less than what you specify.
Example::
diff --git a/user_guide_src/source/helpers/xml_helper.rst b/user_guide_src/source/helpers/xml_helper.rst
index 6d26c58..7d155e1 100644
--- a/user_guide_src/source/helpers/xml_helper.rst
+++ b/user_guide_src/source/helpers/xml_helper.rst
@@ -28,27 +28,27 @@
.. function:: xml_convert($str[, $protect_all = FALSE])
- :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
+ :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
- Takes a string as input and converts the following reserved XML
- characters to entities:
+ Takes a string as input and converts the following reserved XML
+ characters to entities:
- - Ampersands: &
- - Less then and greater than characters: < >
- - Single and double quotes: ' "
- - Dashes: -
+ - Ampersands: &
+ - Less than and greater than characters: < >
+ - Single and double quotes: ' "
+ - Dashes: -
- This function ignores ampersands if they are part of existing numbered
- character entities, e.g. {. Example::
+ This function ignores ampersands if they are part of existing numbered
+ character entities, e.g. {. Example::
- $string = '<p>Here is a paragraph & an entity ({).</p>';
- $string = xml_convert($string);
- echo $string;
+ $string = '<p>Here is a paragraph & an entity ({).</p>';
+ $string = xml_convert($string);
+ echo $string;
- outputs:
+ outputs:
- .. code-block:: html
+ .. code-block:: html
- <p>Here is a paragraph & an entity ({).</p>
+ <p>Here is a paragraph & an entity ({).</p>