summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/typography.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/typography.html')
-rw-r--r--user_guide/libraries/typography.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/user_guide/libraries/typography.html b/user_guide/libraries/typography.html
index 359c590ce..29219059c 100644
--- a/user_guide/libraries/typography.html
+++ b/user_guide/libraries/typography.html
@@ -135,6 +135,16 @@ This function is identical to the native PHP <dfn>nl2br()</dfn> function, except
<code>$string = $this->typography->nl2br_except_pre($string);</code>
+<h2>protect_braced_quotes</h2>
+
+<p>When using the Typography library in conjunction with the Template Parser library it can often be desirable to protect single
+ and double quotes within curly braces. To enable this, set the <kbd>protect_braced_quotes</kbd> class property to <samp>TRUE</samp>.
+
+<p>Usage example:</p>
+
+<code>$this->load->library('typography');<br />
+$this->typography->protect_braced_quotes = TRUE;
+</code>
</div>
<!-- END CONTENT -->