• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • html table adding lots of <br>

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: html table adding lots of <br>

    • Issue Tools
      • View Changes
    1. issueid=1522 May 4, 2010 4:27 AM
      Miras Miras is offline
      New Member
      html table adding lots of <br>

      we just updated to 3.0.0. RC2, vbulletin is 4.0.3

      we are using html tables in some articles, like:


      but this adds a lot of empty lines right before the table:



      using bb-code table:


      works fine:



      please help
      br,
      miras
    Issue Details
    Issue Number 1522
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Wiki Pages
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.0 RC 2
    Fixed Version 3.0.0 RC 3
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 4, 2010 11:40 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is not a bug, this is the intended functionality in vBulletin. If you don't want new lines converted to br, then you need to enable the vBulletin option at the bottom of your article and set the "HTML" option to "HTML on - Don't Convert Line Breaks".
      Reply Reply  
    2. May 4, 2010 11:57 AM
      Miras Miras is offline
      New Member
      option is set to "don't convert line breaks" - but the empty lines still show up: http://www.dieneuewelt.de/forum/show...?title=Fechten
      Reply Reply  
    3. May 4, 2010 2:45 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, this was fixed already for the next build. In vault/special_class_bbcode.php, find:
      Code:
      				if ($_REQUEST['do'] != 'history' OR $_REQUEST['action'] == 'revision')
      				{
      					$input_text = $this->parse_whitespace_newlines($input_text, true);
      				}
      Replace with:
      Code:
      				if (($_REQUEST['do'] != 'history' OR $_REQUEST['action'] == 'revision') AND !is_class_type($this, 'plaintext'))
      				{
      					$input_text = $this->parse_whitespace_newlines($input_text, $this->options['do_nl2br']);
      				}
      Reply Reply  
    4. May 4, 2010 3:13 PM
      Miras Miras is offline
      New Member
      sorry, that didn't fix it

      http://www.dieneuewelt.de/forum/show...en&redirect=no
      Reply Reply  
    5. May 4, 2010 3:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_class_postbit.php, find:
      Code:
      				$this->post['pagetext_html'],
      				$this->post['hasimages'],
      				$this->cachable
      Replace with:
      Code:
      				$this->post['pagetext_html'],
      				$this->post['hasimages'],
      				$this->cachable,
      				$this->post['htmlstate']
      Reply Reply  
    6. May 4, 2010 3:54 PM
      Miras Miras is offline
      New Member
      thanks, now the empty lines are gone
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:07 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.