summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/helpers/url_helper.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html
index 76ec32ab2..c23c5ac92 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -231,11 +231,11 @@ $url_title = url_title($title);<br />
</code>
-<p>The second parameter determines the word delimiter. By default dashes are used. Options are: <dfn>dash</dfn>, or <dfn>underscore</dfn>:</p>
+<p>The second parameter determines the word delimiter. By default dashes are used.</p>
<code>$title = "What's wrong with CSS?";<br />
<br />
-$url_title = url_title($title, 'underscore');<br />
+$url_title = url_title($title, '_');<br />
<br />
// Produces: Whats_wrong_with_CSS
</code>
@@ -244,7 +244,7 @@ $url_title = url_title($title, 'underscore');<br />
<code>$title = "What's wrong with CSS?";<br />
<br />
-$url_title = url_title($title, 'underscore', TRUE);<br />
+$url_title = url_title($title, '_', TRUE);<br />
<br />
// Produces: whats_wrong_with_css
</code>