From 07fa5664978b333f6fd84f4248c50cdbdfe9dc6b Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Sat, 27 Sep 2008 00:06:19 +0000 Subject: tweak of inline_element regex so that it doesn't hit partial matches, i.e. viewing
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 @@ class CI_Typography { $str .= $chunk; continue; } - + if ($process == FALSE) { $str .= $chunk; -- cgit v1.2.3-24-g4f1b