redcarpet icon indicating copy to clipboard operation
redcarpet copied to clipboard

Can't seem to escape SmartyPants quotes

Open dchacke opened this issue 3 years ago • 0 comments

SmartyPants has supported escaping quotation marks since 2003 "to force non-smart punctuation" (i.e. so it doesn't turn straight quotation marks into curly ones).

When I try to escape quotation marks using Redcarpet, it doesn't work. \' is rendered as \‘ (including the backslash).

Expected behavior: \' should render as ' (same for double quotation marks).

dchacke avatar Oct 01 '22 18:10 dchacke