• 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
    • Double Quote display inside a code tag

    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: Double Quote display inside a code tag

    • Issue Tools
      • View Changes
    1. issueid=287 October 17, 2008 4:56 AM
      miyuki miyuki is offline
      New Member
      Double Quote display inside a code tag

      I still encounter some problems with double quote symbol. It is working correctly in normal text, but when I put a double quote inside a code block, I get a """.

      You can see an exemple on my wiki here

      Best Regards,
    Issue Details
    Issue Number 287
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 2.1.1
    Fixed Version 2.1.2
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 17, 2008 10:42 AM
      pegasus pegasus is offline
      VaultWiki Team
      This bug applies to all HTML entities inside a code tag, but only when the forum containing the article does not allow HTML. There is an overlap with the code that prevents smilies from parsing in code blocks, that makes it impossible (with the existing code) for the noparse engine to correct itself when HTML is disabled.

      Fixed for the next build by adding some additional HTML-disabled checks.

      In vault/special_class_bbcode.php, this is the new (legacy, merged) noparse array:
      PHP Code:
                  $noparse_find = array(
                      
      '&'    => ($this->options['do_html'] ? '&' : '&'),    // html codes
                      
      '#'    => '#',        // legacy ordered list, redirect
                      
      "'"    => ''',        // legacy bold/italic
                      
      '*'    => '*',        // legacy unordered list
                      
      '['    => '[',        // bbcode tag open
                      
      ']'    => ']',        // bbcode tag close
                      
      '_'    => '_',        // legacy toc
                      
      '{'    => '{',    // legacy tables, templates open
                      
      '}'    => '}',    // legacy tables, templates close
                      
      '|'    => '|',    // delimiter
                      
      '='    => '=',        // legacy headlines
                      
      '<'    => ($this->options['do_html'] ? '&amp;lt;' : '<'),    // html open
                      
      '>'    => ($this->options['do_html'] ? '&amp;gt;' : '>'),    // html close
                      
      '-'    => '&amp;#45;',        // legacy horizontal rule
                  
      ); 
      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 12:26 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.