When I don't close a tag in a post...
EDIT: It's a problem only with preview. To reproduce it, just leave unclosed tag in reply and click preview.
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
You shouldn't be leaving it open anyway.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
Of course you're right. But it sometimes happens because of a typo. And shouldn't make the rest of the page bold
"Those people who think they know everything are a great annoyance to those of us who do." Asimov
It's completely up to the browser how to determine how it handles incorrect HTML tags.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."
It's not about handling it by web browser.
I think that whatever I write, it should affect only my post, not the whole page. So script should check for for such tags and either close or remove them.
"Those people who think they know everything are a great annoyance to those of us who do." Asimov
There isn't a module to do this in Drupal at the moment. So, the moderators just have to keep an eye on careless posters.
Sometimes, the impossible can become possible, if you're awesome!
Just another reason direct HTML usage on a message board is a bad idea...
Vintage!
Actually, it's no different than a BBCode or other processor. Those processors just do:
1. Ditch all less than a greater than symbols and replace them with html identites
2. Replace the bbcode with html start and ends
Having an unclosed <i> is no different from an unclosed [i]. Either way, you need a comment processor that checks for proper end tags and adds them in. And, right now, Drupal doesn't have one.
Sometimes, the impossible can become possible, if you're awesome!
It's even worse when you have an RSS aggregator like my Lilina and most of the feeds people add aren't valid.
On that note, I'd like to recommend HTML Purifier which does an excellent job. There's Drupal module too.
----
Ryan McCue
Current Fav. Songs:
"If you're not part of the solution, you're part of the precipitate."