vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Strip <br> BBCode (https://vborg.vbsupport.ru/showthread.php?t=239705)

GeekyDesigns 04-02-2010 10:00 PM

Strip <br> BBCode
 
1 Attachment(s)
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:".


All times are GMT. The time now is 06:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01052 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete