vmg / sundown

Standards compliant, fast, secure markdown processing library in C
1.99k stars 385 forks source link

's, 't, 'm, 'd, 're, 'll and 've are not converted by SmartyPants #102

Open FSX opened 12 years ago

FSX commented 12 years ago

's, 't, 'm, 'd, 're, 'll and 've are not converted by SmartyPants to ’*. That's because the ' is escaped to ' by the HTML renderer and that's why SmartyPants doesn't see it. I did some tests using Misaka an confirmed that smartypants_cb__squote is not called. Except when the '`' is located in a HTML block.

I don't really understand how characters are detected in SmartyPants so I don't know how to make a patch.