X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FTextileMarkup.php;h=64166125e147a5611ae21fb4a04aff147ac7fb53;hb=b83c2cd955fee7bf470dc99406dfdc7dd4246491;hp=e692a1be207a745ec05ba7e820282639f2e358aa;hpb=4ae77f9e9185e6fb547d32281bb2aef6f299841e;p=diogenes.git diff --git a/plugins/TextileMarkup.php b/plugins/TextileMarkup.php index e692a1b..6416612 100644 --- a/plugins/TextileMarkup.php +++ b/plugins/TextileMarkup.php @@ -49,7 +49,9 @@ class TextileMarkup extends Diogenes_Plugin_Skel_Filter function filter($input) { $textile = new Textile(); - return $textile->TextileThis($input); + $data = htmlProtectFromTextism($input); + $data = $textile->TextileThis($data); + return htmlUnprotectFromTextism($data); } }