embedding video in Tabulas
December 6, 2007, 03:39 PM by
Embedding works in Tabulas and crossposts to LJ, but both posts have invalid code that tries to "close" tags that are already self-closing. Editing the LJ crosspost repairs these errors. Editing the Tabulas post gets these errors back immediately upon reposting -- the invalid code cannot be deleted. It respawns.
I thought it might be a rogue Firefox plugin, even though that doesn't explain why LJ works fine (once the Tabulas-altered code is fixed), but the same thing happens in Opera. Whatever is happening, it's happening on the Tabulas server, not in my browser. It appears intended to correct improper HTML. That's fine, nifty even. It also breaks valid XHTML. That is not fine.
I tried encasing the "close" tags in an HTML comment, hoping that the correction system would see what it wanted to see and leave the uncommented code portion alone. No dice. The same faulty "close" behaviour occurs with an HTML comment, even though that doesn't make any sense. </!--> is not markup, HTML or XHTML. It's just invalid. And annoying. And now it's trying to "fix" my encoded HTML, when I want it encoded so it's visible in the browser! What on Earth is going on here?!
Does anyone have any ideas on how to get around this? I refuse to forgo valid code just to embed, but surely there's a way to have both!



