--- wp-includes/functions-formatting.php.orig Sun May 16 17:14:14 2004
+++ wp-includes/functions-formatting.php Thu Jun 3 10:36:26 2004
@@ -74,6 +74,7 @@
$pee = preg_replace('!(?(?:table|thead|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|blockquote|p|h[1-6])[^>]*>)\s*
!', "$1", $pee);
$pee = preg_replace('!
(\s*?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)>)!', '$1', $pee);
$pee = preg_replace('!(
or tags.
- $tags_to_skip = "!<(/?)(?:pre|code|kbd|script)[\s>]!";
+ $tags_to_skip = "!<(/?)(?:pre|code|kbd|math|script)[\s>]!";
foreach ($tokens as $cur_token) {
if ($cur_token[0] == 'tag') {
--- wp-content/plugins/textile1.php.orig Mon Apr 19 03:31:30 2004
+++ wp-content/plugins/textile1.php Thu May 20 13:01:08 2004
@@ -218,15 +218,17 @@
foreach($text as $line){
if(preg_match('//i',$line)){$pre = true; }
+ if(preg_match('/","\n",$line);
}
- if(preg_match('/<\/pre>/i',$line)){$pre = false; }
+ if(preg_match('/<\/pre>/i',$line)){$pre = false;}
+ if(preg_match('/<\/math>/i',$line)){$math = false;}
if ($list == '' && preg_match('/^\t\t/',$line)){
$list = "ul";
--- wp-content/plugins/textile2.php.orig Mon Apr 19 03:31:33 2004
+++ wp-content/plugins/textile2.php Thu May 20 13:03:34 2004
@@ -266,6 +266,7 @@
foreach($text as $line) {
if (preg_match('//i',$line)) { $pre = true; }
+ if (preg_match('/