[Comoblog-commit] comoblog/modules/mod_markup mod_markup_post_filter.php,1.1,1.2
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-09 01:44:22
|
Update of /cvsroot/comoblog/comoblog/modules/mod_markup In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12993 Modified Files: mod_markup_post_filter.php Log Message: Only markup plain text - trying to markup HTML is too hard, and generally a waste of time anyway Index: mod_markup_post_filter.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/modules/mod_markup/mod_markup_post_filter.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_markup_post_filter.php 9 Oct 2005 01:37:38 -0000 1.1 +++ mod_markup_post_filter.php 9 Oct 2005 01:44:15 -0000 1.2 @@ -1,5 +1,6 @@ <?php require_once (dirname(__FILE__).'/include/mod_markup.inc.php'); - $post = markup($post); + if ($post['post_ctype'] == "text/plain") + $post = markup($post); ?> |