Skip to content
New issue

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

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

Already on GitHub? # 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
Contributor

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

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

No branches or pull requests

1 participant