A paragraph containing code elements will stop wrapping if one of those
elements falls at the end
of a line on IE 7, but not Safari or Firefox. This caused by the following
style rule in typography.css:
pre,code { margin: 1.5em 0; white-space: pre; }
Defining "code" in this way doesn't encourage what I understand as proper usage
of the tags,
though I'm sure what the standards prescribe. (In Markdown, inline code is
translated to a code
element and code blocks are translated to a code nested within a pre.) But if
you want to continue
to have code act as a pre, you could fix IE7's wrapping with the following
rule, so long as the block
of text is contained in a paragraph:
p code { white-space: normal; }
Original issue reported on code.google.com by n8han.ha...@gmail.com on 7 Dec 2007 at 5:34
Original issue reported on code.google.com by
n8han.ha...@gmail.com
on 7 Dec 2007 at 5:34