Try to stick to Gruber's SmartyPants implementation. Fixes #34