Warning for Bad Markup
Jul. 24th, 2009 01:56 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Title:
Warning for Bad Markup
Area:
entries
Summary:
When you have bad markup in an entry, DW fails with an error message in the displayed post. Instead, it should warn you about the bad markup before posting, and give you a chance to go back and edit.
Description:
DW clearly has a way to check the markup in a post for basic problems, since it displays some really ugly error text when it happens, and I remember a time on LJ before the error text was there.
The current behavior is to interrup the post at the point where the error occurs, with the message [Error: Irreparable invalid markup ('<foo [...] bar>') in entry. Owner must fix manually. Raw contents below.] followed by the complete raw text of the entry.
I see this message, um, pretty much every time I attempt to make a post with more than a couple bits of mark-up in it. It's ugly, it breaks cut-tags, and with a long and complicated post, it's easy to miss it on preview. We hates it, precious.
It would be really nice if, instead of posting the entry complete with error text and raw code, DW instead gave you some kind of really noticeable warning that there was bad markup (a pop-up, or a big screaming message, or something difficult to miss) and offer to send you back to the entry to fix before posting. (Give the user the option to post anyway, but let them know there will be errors.)
I have no idea how this would work with clients, but even if it only worked from the web form, it would be an amazingly helpful improvement for me.
(And aside from that, some sort of polish to the current behavior would be great. I suggest post the entire entry in raw HTML but behind a cut, with the error message as the cut text. That way at least it wouldn't take over everyone's flists.)
This suggestion:
Should be implemented as-is.
39 (81.2%)
Should be implemented with changes.
7 (14.6%)
Shouldn't be implemented.
1 (2.1%)
(Other: please comment)
1 (2.1%)