tweak of inline_element regex so that it doesn't hit partial matches, i.e. viewing <blockquote as <b
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php
index 94c9de0..57cb97c 100644
--- a/system/libraries/Typography.php
+++ b/system/libraries/Typography.php
@@ -101,7 +101,7 @@
// Convert "ignore" tags to temporary marker. The parser splits out the string at every tag
// it encounters. Certain inline tags, like image tags, links, span tags, etc. will be
// adversely affected if they are split out so we'll convert the opening bracket < temporarily to: {@TAG}
- $str = preg_replace("#<(/*)(".$this->inline_elements.")#i", "{@TAG}\\1\\2", $str);
+ $str = preg_replace("#<(/*)(".$this->inline_elements.")[ >]#i", "{@TAG}\\1\\2", $str);
// Split the string at every tag. This expression creates an array with this prototype:
//
@@ -132,7 +132,7 @@
$str .= $chunk;
continue;
}
-
+
if ($process == FALSE)
{
$str .= $chunk;