Background color works in preview, but not in post May 31, 2006 12:27 PM   Subscribe

Hmph. I made a couple of paragraph elements with a background color to highlight colors in this green thread. [more inside]
posted by symphonik to Bugs at 12:27 PM (14 comments total)

The preview showed the colored paras just fine, however they promptly disappeared when I posted the question.

I am thinking that something that works in the question preview should work on the green. Or maybe I'm just naïve about using HTML and CSS in posts. ;)

jessamyn/mathowie, et al, in the interest of readability, please feel free to substitute the content of the first post in that thread for the broken crap in the question. Thanks.
posted by symphonik at 12:29 PM on May 31, 2006


Repeat after me: Live. Preview. Does not. Reflect. Reality.
I submitted Javascript to Matt at some point so that it would, but the line for ponies is around the block lately, so it might still be pending.
posted by Plutor at 12:31 PM on May 31, 2006 [1 favorite]


Repeat after me: The Green. Doesn't. Use. Live. Preview. :)

That was not intended to be snarky, but AskMeFi uses a full-on circa-1998 click-and-reload previewing system. When I clicked, and the page reloaded, the colors did actually work.
posted by symphonik at 12:33 PM on May 31, 2006


(for the question-posting, that is)
posted by symphonik at 12:34 PM on May 31, 2006


Oh, I see. You meant in the question itself. Yeah that's a separate issue altogether. I am also sorry that sounded snarky.
posted by Plutor at 12:35 PM on May 31, 2006


Style (all but alt/href/title/src?) attributes are stripped from HTML elements on post. I'd bet that the preview function doesn't run your post through the input scrubber while the full-on post process does. Probably a good idea to do so, but I can also see where that might cause headaches too (like when to escape an ampersand and when not).

At any rate, this behavior should be noted on preview if it isn't already and I've asked my weekly question so I cannot check right now.
posted by Fezboy! at 12:42 PM on May 31, 2006


Yeah, from a software perspective, I've never understood the reason that preview uses one set of display rules and post uses another. I would think the code would be easier to maintain if there was only "one" way to parse comments.
posted by SweetJesus at 12:58 PM on May 31, 2006


I need to run the same stripping rules on preview that I run on the post/preview pages. Will do someday soon.
posted by mathowie (staff) at 1:13 PM on May 31, 2006


symphonik, what are you talking about? I can see the colors ;-)
posted by Gyan at 2:34 PM on May 31, 2006


Fascinating bug, I'm sure, but I have to say that this is the most irritating kind of Ask Metafilter question - a quick Googling would've provided a few centuries worth of discussion on the topic, so it's just chatfilter in disguise.

Whatever, I'm off for a swim in the wine-dark sea.
posted by jack_mo at 2:57 PM on May 31, 2006


this is the most irritating kind of Ask Metafilter question

Yes, the question itself is irritating (and got the expected "have you ever really looked at your hand, man?" response)—but the discussion turned out to be very interesting, with all sorts of great links. This is why AskMeFi is better than Ask Your Fellow Sophomores.
posted by languagehat at 3:16 PM on May 31, 2006


but the discussion turned out to be very interesting

For sure, but I was rather under the impression that the idea of Ask MetaFilter was providing answers to questions folk couldn't get answered elsewhere, not generating interesting discussion for us all to read...
posted by jack_mo at 4:39 PM on May 31, 2006


I thought it was fascinating, and if I hadn't read the thread I wouldn't have known about the "cool eye/warm eye" thing, which I just happened to have experienced last week (and convinced myself I was imagining it).

I guess I don't really get the "Don't Ask, Google!" thing, because it seems to me that there is hardly a single question that can't be researched elsewhere. AskMe is a place for asking questions, and if you Google for many things right now, many of the top results will be from Ask Metafilter, so it's all kind of circular. Obviously, some questions are so simple and obviously easy to resolve that using AskMe is like killing a mosquito with a cannon, but what's interesting about a question like ths is that mefites bring up a lot of counter theories and objections to simplified assertions. Also, I've read about color maybe more than most, but hadn't really thought about subtle-squid's observation here (a continuation of the post just before it), or known that in Japan, "traffic-light green" is considered blue.

It is these sorts of informational tidbits from various perspectives that make an AskMe thread often more interesting and enlightening/thought-provoking to read than an "authoritative" article.
posted by taz at 1:46 AM on June 1, 2006


I guess I don't really get the "Don't Ask, Google!" thing, because it seems to me that there is hardly a single question that can't be researched elsewhere.

Yeah, and folk should try that first, before using AskMe - this questioner doesn't appear to have done so, or he would have found most, if not all, of the stuff mentioned in the thread with Google searches for 'colour perception', 'colour theory', 'philosophy of colour' and so on.

It is these sorts of informational tidbits from various perspectives that make an AskMe thread often more interesting and enlightening/thought-provoking to read than an "authoritative" article.

Definitely, and I'm on shaky ground because that thread was so interesting - the point that this was someone using AskMe when they didn't need to stands, though.

(Then again, I'm so paranoid about this that I've detailed every step of my researchings before, which may be more annoying than just diving in and asking Ask!)
posted by jack_mo at 2:08 AM on June 1, 2006


« Older No more meh   |   Who wants to play poker? Newer »

You are not logged in, either login or create an account to post comments