Elena, fixing bad HTML (as in malformed tags) is akin to mindreading. We have plans in the works to close unclosed tags, but malformed is a different kettle of fish.
Replacing an unrecognised tag with entities <> is certainly possible, but involves maintaining and checking against a complete list of every allowable HTML tag.
Which is processor intensive and will slow the site down.
I think what Elena would like is for the bad html to be stripped out when it's posted, but then reappear in the edit box if one clicks on "edit." Not sure how we'd do that, short of keeping two copies of every post -- one with the html stripped out, one kept as is. The former one would get posted; the latter would just sit in a table waiting for someone to click on "edit."
That would be even more intensive -- either database, by duplicating posts, or stripping it before every display.
That would be even more intensive
Oh yeah, definitely. But it doesn't require mindreading or a complete list of html tags. I was just clarifying what I think Elena would like.
The complete list of allowable HTML tags isn't the biggie. It's the processing that's the issue. But in that scenario, it's once per post, not once per display.
My corner of Earthlink world has decided to stop propagating buffistas.org. I'm good with www.buffistas.org, but that's been propagated since before. Mail.buffistas.org is new to me, and won't resolve.
Chat support guy told me it was because mail servers are often firewalled. I HATE support folk that know less than I know.
They should be hit over the head with a TCP/IP book.
But he's finally forwarding a ticket on, and if anything useful comes of it, bitterchick, I'll pass the info on.
Jon is correct in what I want, it's actually what I thought we had, but obviously I am mistaken.
Thing is, I know that the bad HTML was stripped, but now the text within the bad HTML is also gone and I don't remember that happening.
Surely it can't be that I never made formatting errors before. Nah.
Thanks, ita. Let me know what happens.
When you say "within", Elena, do you mean:
t badtag
this is going to disappear
t /badtag
or
t thisbadtagwilldisappear
?
I mean the first. It disappears in the post, but is also gone from the posting box when I try to edit.