Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Mismatch detector is broken
« on September 19th, 2012, 03:20 AM »
It gets very confused. See attachment. It clearly isn't mismatched but it's complaining nonetheless.
Posted: September 19th, 2012, 03:18 AM

Also, if I save this as a draft, then go to re-edit the draft, it pre-pends a code bbc in front of everything - as if the first code tag is irrelevant.

 mismatch_bug.png - 64.3 kB, 896x707, viewed 173 times.

Re: Mismatch detector is broken
« Reply #1, on September 19th, 2012, 03:53 AM »
OK, I found the root cause of why this was broken.

You'll notice above the code block is a mismatched nb item. That was what was causing it to go wrong - because other stuff was trying to fix it like inserting tags to match the nb.

That could be really annoying and confusing.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Mismatch detector is broken
« Reply #2, on September 19th, 2012, 10:31 AM »
nb is a special tag not parsed the same way. Maybe that's the reason.
Although really, I dunno. This code is rocket science. It's hard to make it simpler, even though I wrote it...