From 162c0226ed81efa318be00f4b8bde44febadccde Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Tue, 23 Dec 2008 15:49:46 +0000
Subject: format_characters() not convert_characters()
---
user_guide/libraries/typography.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'user_guide/libraries/typography.html')
diff --git a/user_guide/libraries/typography.html b/user_guide/libraries/typography.html
index 2c7e06c9c..b84ce123d 100644
--- a/user_guide/libraries/typography.html
+++ b/user_guide/libraries/typography.html
@@ -79,7 +79,7 @@ the following formatting:
Single line breaks are converted to <br />, except those that appear within <pre> tags.
Block level elements, like <div> tags, are not wrapped within paragraphs, but their contained text is if it contains paragraphs.
Quotes are converted to correctly facing curly quote entities, except those that appear within tags.
-Apostrophes are converted to curly apostrophy entities.
+Apostrophes are converted to curly apostrophe entities.
Double dashes (either like -- this or like--this) are converted to em—dashes.
Three consecutive periods either preceding or following a word are converted to ellipsis…
Double spaces following sentences are converted to non-breaking spaces to mimic double spacing.
@@ -91,7 +91,7 @@ the following formatting:
Parameters
-There is one optional parameters that determines whether the parser should reduce more then two consecutive linebreaks down to two. Use bolean TRUE or FALSE.
+
There is one optional parameters that determines whether the parser should reduce more then two consecutive line breaks down to two. Use boolean TRUE or FALSE.
By default the parser does not reduce line breaks. In other words, if no parameters are submitted, it is the same as doing this:
@@ -104,13 +104,13 @@ If you choose to use this function you may want to consider
-convert_characters()
+format_characters()
-This function is similiar to the auto_typography function above, except that it only does character conversion:
+This function is similar to the auto_typography function above, except that it only does character conversion:
- Quotes are converted to correctly facing curly quote entities, except those that appear within tags.
-- Apostrophes are converted to curly apostrophy entities.
+- Apostrophes are converted to curly apostrophe entities.
- Double dashes (either like -- this or like--this) are converted to em—dashes.
- Three consecutive periods either preceding or following a word are converted to ellipsis…
- Double spaces following sentences are converted to non-breaking spaces to mimic double spacing.
@@ -118,7 +118,7 @@ If you choose to use this function you may want to consider
Usage example:
-$string = $this->typography->convert_characters($string);
+$string = $this->typography->format_characters($string);
nl2br_except_pre()
--
cgit v1.2.3-24-g4f1b