[Comoblog-commit] comoblog/batch comoblog_batch.php,1.6,1.7
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-10-05 01:48:42
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26677/batch Modified Files: comoblog_batch.php Log Message: RFE: 1304057 - HTML filter option added Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- comoblog_batch.php 5 Oct 2005 01:32:56 -0000 1.6 +++ comoblog_batch.php 5 Oct 2005 01:48:34 -0000 1.7 @@ -48,6 +48,9 @@ $new_v = str_replace ('<', '', $v); $post['images_cid'][$k] = str_replace ('>', '', $new_v); } + + if (CFG_ALLOW_HTML == 'no') + $post['post_mail_body'] = filter_html($post['post_mail_body']); // clean up text and html if ($post['post_ctype'] == 'text/plain') |