• 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 4.x Series
    • Bug
    • wiki bbcode stops parsing. Is there a way to find out why?

    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: wiki bbcode stops parsing. Is there a way to find out why?

    • Issue Tools
      • View Changes
    1. issueid=5782 June 9, 2019 11:29 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      wiki bbcode stops parsing. Is there a way to find out why?

      Is there a way to find out why wiki code is not parsing?
      In my wiki article /Forum_posting_functionality right after the headline 'introduction of options' wiki bbcode stops parsing. I have looked at the code and cant find any reason why this is happening. It may be a bug, but its probably some formatting issue somewhere, but I don't see it. Is there a way to easily figure this out?
    Issue Details
    Issue Number 5782
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.26
    Fixed Version 4.1.0 Beta 2
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 10, 2019 5:26 PM
      pegasus pegasus is offline
      VaultWiki Team
      This has something to do with the following construction:
      Code:
      [plain][table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"][/plain]
      When you use this in a regular post, all BB-Codes that appear after it do not render properly:
      Code:
      [b]bold text[/b]
      example: [plain][table="option1;option2=value;option3='this is a long value with space';option4=value1,value2,value3"][/plain]
      text
      
      [b]more bold text[/b]
      If that is Waindigo's TABLE BB-Code, it uses its own internal plain-text flag, but does not actually render as plain-text (which can cause security vulnerabilities in VaultWiki). VaultWiki attempts to workaround this vulnerability.

      The question is, does this happen for all BB-Codes using this construction, or only the TABLE BB-Code?

      If it's only the TABLE BB-Code:

      If it happens while VaultWiki is disabled, then it's a problem with that BB-Code, or it's a problem with how XenForo interprets the tag's plain-text flag when the tag itself is wrapped in PLAIN (without a closing tag, then a stacked plain-text flag would not go away).
      If it resolves while VaultWiki is disabled, then it's a problem with the VaultWiki workaround.

      There might not be a way to resolve this without breaking other things. You can avoid the problem by including a closing TABLE tag in your "example"
      Reply Reply  
    2. June 11, 2019 10:46 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      It is indeed waindigo table code.
      I have closed the table tag but it does not solve the issue. So next I just removed the whole section. Then a few more sections were parsed but now it ends at the 'lists' section and from there no bbcode is parsed. No table bbcode is used in that section.
      Reply Reply  
    3. June 11, 2019 4:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs due to code intended to handle certain BB-Codes with problematic designs (such as the original Waindigo code). The workaround VaultWiki uses has issues with content that looks like opening tags but that don't have closing tags. In LISTs, this includes the list items * which don't have closing tags. So after 5 years of trying to support the quirks of those third-party BB-Codes, we must remove that support.

      Since the original Waindigo code was taken up by another developer who claimed in 2017 to intend to fix the design issue, we are removing the workaround. If the developer never actually followed through, then perhaps this will get enough people complaining so that they do.

      Also since the new developer has no intention of updating the BB-Code for XenForo 2, and XenForo 1 is no longer supported by XenForo, perhaps now is a good time for users to migrate away from that BB-Code anyway.

      In our opinion, making sure that stock XenForo BB-Codes work as expected is more important than making sure a third-party's unsupported and flawed BB-Code is not conflicting.

      Workaround removed in the next release.

      This also occurs due to code intended to handle rendererState preservation codes in plain-text contexts, specifically for the case when parsed content is passed as an argument to a template that uses that argument inside a PLAIN tag or something similar. In that case, without special handling, the rendererState hashes would be visible in the output.

      Since the code no longer needs to account for third-party BB-Code workarounds using similar logic, a slightly different approach can be used that does not affect all BB-Codes. Since the rendererState codes will always close, we do not have the problem of worrying about unclosed tags.
      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 5:58 PM.
    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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.