Bug Genie strips out HTML formatting in comments. I had a hard time with that as clients who were using this were copy pasting from third party and the formatting was lost. Initially I though that it stripped down HTML during POST and fixing that will fix my future comments. But, after few mins of fondling around I made the “awesome” discovery that, Bug Genie doesn’t convert htmlentities during post, but during printing out. This would mean, all my past comments, which have HTML will work !!

Without further delay..

go to file

./include/common_functions.inc.php

find the function:

 function bugs_BBDecode($text, $formatting = true) 

comment out the first line in the function:

$text = bugs_sanitize_string($text); 

I haven’t tested this with other language packs /localization settings. This works fine with English Language.

  • Share/Bookmark

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

© 2010 Think Lamp Suffusion WordPress theme by Sayontan Sinha