Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to escape SmartyPants quotes #730

Open
dchacke opened this issue Oct 1, 2022 · 0 comments
Open

Can't seem to escape SmartyPants quotes #730

dchacke opened this issue Oct 1, 2022 · 0 comments

Comments

@dchacke
Copy link

dchacke commented Oct 1, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant