PDA

View Full Version : BB Code Enhancements - Strip <br> BBCode


GeekyDesigns
04-02-2010, 10:00 PM
Ever have to use HTML in an article or a post? "But wait," you think to yourself, "if I use HTML, I'll have to remove every single line break from my code or else the BBCode parser will add a <br> tag to every single line break!" You cry yourself to sleep over the thought of everything breaking itself and looking horrible or making your HTML code hard to manage without the line breaks.

Here comes your savior! This product adds a [nobr] BBCode that attempts to strip the <br> tags that the BBCode parser adds, allowing you to use HTML, JavaScript, or anything else without line break tags being added. Enjoy. :)

Link14716
04-03-2010, 03:10 AM
Obligatory first/reserved post so I can add stuff at the top without logging on the GeekyDesigns.

Dr.osamA
04-03-2010, 11:27 AM
try it

thanxxx

installed

Gustav32
04-14-2010, 10:33 AM
Nice! Thanks.

There is still a issue when "javascript:" is called inside CMS. The output in CMS becomes "javascript:<b></b>", making the javascript non-workable.

Maybe this mod could fix this as well? I worked around it by removing "javascript:".