Fixed New selector in xenforo.js blocks certain custom bbcode

Luke F

Well-known member
Code:
$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?
 
Top Bottom