cvs: pear /Text_Wiki/Text/Wiki/Parse/Creole Trim.php
| From: | Michele Tomaiuolo | Date: | Fri, 28 Sep 2007 21:46:36 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Parse/Creole Trim.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48694@lists.php.net to get a copy of this message | ||
mic Fri Sep 28 21:46:36 2007 UTC
Modified files:
/pear/Text_Wiki/Text/Wiki/Parse/Creole Trim.php
Log:
Commented out wrapping of images in tables
http://cvs.php.net/viewvc.cgi/pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php?r1=1.12&r2=1.13&diff_format=u
Index: pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php
diff -u pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php:1.12
pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php:1.13
--- pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php:1.12 Mon Sep 3 22:40:09 2007
+++ pear/Text_Wiki/Text/Wiki/Parse/Creole/Trim.php Fri Sep 28 21:46:35 2007
@@ -63,7 +63,8 @@
$replace = "\n\n----\n\n$2";
$this->wiki->source = preg_replace($find, $replace, $this->wiki->source);
- // wrap images in tables
+ /*
+ // wrap images in tables
$find = "/(?<=\n\n){{([^\|}]*)\|([^}]*)}}(?=\n\n)/";
$replace = "| {{ $1 | $2 }}\n|= $2";
$this->wiki->source = preg_replace($find, $replace, $this->wiki->source);
@@ -72,6 +73,7 @@
$find = "/(?<=\n\n){{([^\|}]*)}}(?=\n\n)/";
$replace = "| {{ $1 }}";
$this->wiki->source = preg_replace($find, $replace, $this->wiki->source);
+ */
}
}