diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-09-27 02:10:37 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-09-27 02:10:37 +0200 |
commit | f2b7f62f79791cae890a84a4f7b0eeb46449a5d1 (patch) | |
tree | 7f7f20b02eba5e2ac3d198d2e8c2e0e41f81176d /system | |
parent | 07fa5664978b333f6fd84f4248c50cdbdfe9dc6b (diff) |
tweak tweak...
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Typography.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Typography.php b/system/libraries/Typography.php index 57cb97c73..7eaa4057d 100644 --- a/system/libraries/Typography.php +++ b/system/libraries/Typography.php @@ -101,7 +101,7 @@ class CI_Typography { // 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\\3", $str); // Split the string at every tag. This expression creates an array with this prototype: // |