Word Wrap Breaks Section Editing
vBulletin's automatic word-wrap functions can break section editing if there is enough text in a row to trigger word-wrap before the position of the edited section.
Section editing can also be broken if improperly nested NOPARSE tags are used and vBulletin tries to "fix" the tags by closing open tags early, even though NOPARSE would prevent the improperly nested tags from parsing. Example:
Code:
[noparse][html][code][/noparse]
The nest-fix-fix requires a rather complex file edit, so users should wait for the next build.
To fix the word-wrap issue, edit
vault/class/bbcode.php, find:
Code:
if (!$parse_options['no_wordwrap'] AND !$this->recursion['template'])
Replace with:
Code:
if (!$parse_options['no_wordwrap'] AND !$this->recursion['template'] AND !$GLOBALS['vault']->parser['fake_tag_list'])
Both issues will be fixed in 3.0.3.