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