This topic was marked solved by its starter, on November 4th, 2012, 12:20 AM
Not sure what to make of this

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Not sure what to make of this
« Reply #15, on March 28th, 2012, 09:51 PM »
First of all... A bug that shows up when doing Preview. Undefined variables in JS. It's actually caused by PHP sending a list of strings, but not surrounded by quotes, so they're taken as variable names, which don't exist... Fixed it here. I'm not even sure what this 'broke', because I never noticed any bugs with the previewer... Anyway!
Re: Not sure what to make of this
« Reply #16, on March 28th, 2012, 09:55 PM »
Hmm yes, I think I know the outcome of that JS bug: previewing was no longer refreshed automatically -- only done through going to a new page. Which isn't that important, really... I actually thought it was always done that way ;)

Hey, added the media code, and although preview showed me the 'me' closer, it wasn't in the final posted code!

Posted: March 28th, 2012, 09:54 PM


Okay, it only shows when doing a quick edit or a preview. Not when posting it directly. And since I fixed preview JS, the post box is no longer updated with the 'fixed' code that we see in preview. Which also means that previewing will fix stuff that posting won't.....??!!

PS: the me closer is added at the very end of the post.
Re: Not sure what to make of this
« Reply #17, on March 28th, 2012, 10:54 PM »
Fixed!! :)

The bug was mine! In wedit::fixNesting, where I was testing against a list of non-self-closed tags. media is defined as a closed tag, but 'me' isn't, and so it was foolishly looking for [me and found one. I'm upset at me that I forgot to add a \b after the tag list!!
Posted: March 28th, 2012, 10:42 PM

Pandos, can you tell me if it works for you now?

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.