Additional smart quote suggestion
|Reported by:||cloak42||Owned by:|
If a user writes a post that contains a quotation inside parentheses, the open quote mark is not used. I suggest that when a quotation mark (double or single) is used after an open parenthesis, it should be a left-quote “ instead of a right quote ”. In order to be as complete as possible, it would probably be best to ensure that this is only done in the event that white space is used prior to the open parenthesis so as to prevent it printing the wrong one if, say, a sad-face smiley is used inside a quotation, like so:
She told me, "Aw, you make me a sad panda now. :("
If it's done so that it will only open the quote correctly after white space \s or a carriage return, I think that will cover the vast majority, if not all, of the situations where it would need to be used.
Change History (11)
- Component changed from General to Formatting
- Owner anonymous deleted
6 years ago
- Keywords close added; needs-patch smart quote replacement preg_replace removed
- Keywords close removed
- Resolution changed from worksforme to duplicate