bugs in balanceTags?
-
I’ve had a bunch of posts simply mangled by balanceTags. In cases where the tags aren’t balance, I’ve seen it end up EATING small chunks of text somewhere after the missing tag.
I also found that it is processing comments, which I use for special functionality, and even if it’s not causing a problem, it shouldn’t be touching them at all! So, I added in a check for empty($tag) before adding it to the stack (and processing it further…), which seems like it should work — though I’m debugging that right now… ??
But the missing text is bugging me… It’s a DAMN good thing I do my long articles completely offline now. Is there a way to have balancetags return back something so that the admin screen can show “Posted, but tags were auto-balanced”, so I can hit BACK immediately and try to look for the problem? Plus maybe a hint as to the tag that is missing (which the tag stack should ‘know’, right?).
-d
- The topic ‘bugs in balanceTags?’ is closed to new replies.