Blockquote class warfare on Posterous
I’ve taken issue before with the way Posterous post-processes HTML class attributes for blockquotes. And today, I discover another niggle…
Normally, Posterous applies a class of short_quote or medium_quote based upon the quote’s length, but neither class gets applied at all if the blockquote (bq) has certain markup within it. I’ve not tested the extent of this issue rigorously but here are 3 instances that seem to trip up Posterous’s parsing:
- If any child tag of the bq has a title attribute applied to it:
I’m normally not a praying man, but if you’re up there, please save me, Superman.
- If any child tag of the bq includes a
citeelement:I’m normally not a praying man, but if you’re up there, please save me, Superman. Homer Simpson
- If the bq itself has a
citeattribute:I’m normally not a praying man, but if you’re up there, please save me, Superman.
For comparison, here’s the same quote with no attributes or cite element:
I’m normally not a praying man, but if you’re up there, please save me, Superman.
Oh, and Posterous, if you’re listening, can we improve the default styling of code elements? Thanks.
(I should add that, niggles aside, Posterous is bloody good!)
Flickr