melannen: Commander Valentine of Alpha Squad Seven, a red-haired female Nick Fury in space, smoking contemplatively (Default)
melannen ([personal profile] melannen) wrote in [site community profile] dw_suggestions2009-07-24 01:56 am

Warning for Bad Markup

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.)

Open to: Registered Users, detailed results viewable to: All, participants: 48


This suggestion:

View Answers

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%)

susanreads: my avatar, a white woman with brown hair and glasses (Default)

[personal profile] susanreads 2009-07-29 10:40 am (UTC)(link)
I haven't seen this on entries, but I have seen it on comments, which usually can't be edited, so I think it would be even more useful when posting comments.
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2009-07-29 06:40 pm (UTC)(link)
Yes, this mostly.
azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2009-07-29 03:04 pm (UTC)(link)
When the post is through a client or email, also send back a notification that it posted, but has irreparable markup.
zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)

[personal profile] zvi 2009-07-30 04:48 am (UTC)(link)
this is great for post by e-mail (do we support post by jabber bot yet?), but how many clients will we break if we send them back a strange notice?
kyrielle: painterly drawing of a white woman with large dark-blue-framed glasses, hazel eyes, brown hair, and a suspicious lack of blemishes (Default)

[personal profile] kyrielle 2009-07-30 02:12 pm (UTC)(link)
For entries, for comments, and also for entries add the cut, yes. That would rock.
msilverstar: (leaf)

[personal profile] msilverstar 2009-07-31 06:39 am (UTC)(link)
+1 for sure

I'm using XJournal sometimes, and it's not quite the same in HTML formatting -- I was very sad when I posted something that looked fine in its preview but failed miserably on DW.
montanaharper: close-up of helena montana on a map (Default)

[personal profile] montanaharper 2009-08-01 07:32 pm (UTC)(link)
I love the idea, so long as it can be implemented in a way that doesn't break third-party clients. It doesn't have to give them a readable error message or anything, but I think it needs to not lock them up or crash them, etc.
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2009-08-03 08:23 am (UTC)(link)
An error message by email for posting by email, and a note for comments, and putting the broken bit behind a cut all sound like good ideas, as does the original suggestion.