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

Correctly escape single quote. #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

smira
Copy link

@smira smira commented Apr 7, 2014

Replace ' with \(cq, as \' is different symbol. See smira/aptly#22 and #21.

@ghost
Copy link

ghost commented Dec 17, 2015

@rtomayko Would you please check this PR and merge?

@alkisg
Copy link

alkisg commented Nov 16, 2019

We're also affected by this; we're using Ronn to generate ltsp.org man pages from markdown, and when we have a line like sed 's/one/two/', Ronn converts it to sed ´s/one/two/´, and users complain about syntax errors in man pages.

@alkisg
Copy link

alkisg commented Nov 16, 2019

Hmm actually (cq isn't appropriate; this renders as RIGHT SINGLE QUOTATION MARK' (U+2019) which is still invalid code.

man ls on the other hand uses plain single quotes, NOT escaped, and they work fine.

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

Successfully merging this pull request may close these issues.

2 participants