Ce sujet a été marqué résolu par son auteur, le 4 Novembre 2012 à 00:20
Not sure what to make of this

Nao

  • Dadman with a boy
  • Messages: 16 082
Re: Not sure what to make of this
« Réponse #15, le 28 Mars 2012 à 21:51 »
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
« Réponse #16, le 28 Mars 2012 à 21:55 »
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!

Posté : 28 Mars 2012 à 21:54


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
« Réponse #17, le 28 Mars 2012 à 22:54 »
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!!
Posté : 28 Mars 2012 à 22:42

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
  • Messages: 1 670
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.