1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed New selector in xenforo.js blocks certain custom bbcode

Discussion in 'Resolved Bug Reports' started by Luke F, Jun 26, 2013.

  1. Luke F

    Luke F Well-Known Member

    $element.find('.bbCodeQuote blockquote').each(function() {
    If someone quotes a custom bbcode that uses <blockquote> (for example a spoiler tag etc.) this code tries to run for both the quote tag's blockquote and the one of the custom bbcode, resulting in an error when it later tries to locate '.quote'

    The issue also somewhat applies to nested quotes, though no errors as they're 'complete' quotes.

    Would it be possible to make this selector less greedy?
    cclaerhout likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    This applied to the CSS too so I'm surprised it hasn't come up there...

    I've added a class to the blockquote and have changed things to target that.
    faeronsayn and cclaerhout like this.

Share This Page