diff options
author | Robin Sowell <robin.sowell@ellislab.com> | 2009-07-18 00:07:04 +0200 |
---|---|---|
committer | Robin Sowell <robin.sowell@ellislab.com> | 2009-07-18 00:07:04 +0200 |
commit | 8db2d5ebf30d7d8e648f36e9d669297a9a52cd3d (patch) | |
tree | ad8bedb38554de15495b46904c9789d14fd3e5da /system | |
parent | 3eb9faceb9fedb0fa50a2b2d1fc4952c2652af70 (diff) |
Added heading tags to skippable elements in the typography class- started as 1.6 EE bug fix- carried over.
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 a16839362..242ca3cb6 100644 --- a/system/libraries/Typography.php +++ b/system/libraries/Typography.php @@ -30,7 +30,7 @@ class CI_Typography { var $block_elements = 'address|blockquote|div|dl|fieldset|form|h\d|hr|noscript|object|ol|p|pre|script|table|ul'; // Elements that should not have <p> and <br /> tags within them. - var $skip_elements = 'p|pre|ol|ul|dl|object|table'; + var $skip_elements = 'p|pre|ol|ul|dl|object|table|h\d'; // Tags we want the parser to completely ignore when splitting the string. var $inline_elements = 'a|abbr|acronym|b|bdo|big|br|button|cite|code|del|dfn|em|i|img|ins|input|label|map|kbd|q|samp|select|small|span|strong|sub|sup|textarea|tt|var'; |