Quote:
Originally Posted by frostschutz
Well, to be fair, there simply shouldn't be any spaces. Same way there shouldn't be spaces before ? ! . ,
Cause it looks like crap when the line happens to break there and the punctuation just goes into the next line
, because there was a space in front of it.
The smartypants code only looks at chars before/after the ", so it relies on the formatting alone. It does not have a logic that makes the first " in a paragraph opening, the next one closing, etc.
|
When you have single quotes nested inside double quotes (or vice versa), though, it is conventional to separate them with a space. Without the space, it's very difficult to visually separate them.