ronn icon indicating copy to clipboard operation
ronn copied to clipboard

Correctly escape single quote.

Open smira opened this issue 11 years ago • 3 comments

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

smira avatar Apr 07 '14 20:04 smira

@rtomayko Would you please check this PR and merge?

ghost avatar Dec 17 '15 07:12 ghost

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 avatar Nov 16 '19 16:11 alkisg

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.

alkisg avatar Nov 16 '19 16:11 alkisg