 }
 
 /**
- * View helper function.
- * Truncates text to the specified number of words and replaces the rest with a truncate string (e.g. "...").
- * Docs: http://docs.cfwheels.org/docs/wordtruncate
- * Tests: wheels/tests/view/text/wordtruncate.cfc
+ * Truncates text to the specified length of words and replaces the remaining characters with the specified truncate string (which defaults to "...").
+ *
+ * ```
+ * #wordTruncate(text="Wheels is a framework for ColdFusion", length=4)#
+ * -> CFWheels is a framework...
+ * #truncate(text="Wheels is a framework for ColdFusion", truncateString=" (more)")#
+ * -> CFWheels is a framework for (more)
+ * ```
+ *
+ * @text The text to truncate.
+ * @length Number of words to truncate the text to.
+ * @truncateString String to replace the last characters with.
+ *
  */
 public string function wordTruncate(required string text, numeric length, string truncateString) {
 	$args(name="wordTruncate", args=arguments);

<cfscript>

/**
 * View helper function.
 * Turns all URLs and email addresses into clickable links.
 * Docs: http://docs.cfwheels.org/docs/autolink
 * Tests: wheels/tests/view/text/autolink.cfc
 */
public string function autoLink(required string text, string link, boolean relative=true) {
	$args(name="autoLink", args=arguments);

}

/**
 * Highlights the phrase(s) everywhere in the text if found by wrapping it in a span tag.
 *
 * ```
 * #highlight(text="You searched for: Wheels", phrases="Wheels")#
 * -> You searched for: <span class="highlight">Wheels</span>
 * ```
 *
 * @text Text to search.
 * @phrases List of phrases to highlight.
 * @delimiter Delimiter to use in phrases argument.
 * @tag HTML tag to use to wrap the highlighted phrase(s).
 * @class Class to use in the tags wrapping highlighted phrase(s).
 *
 */
public string function highlight(
	required string text,
