Skip to content

single-quote normalization#1155

Merged
ben merged 1 commit intoprogit:masterfrom
ajax333221:master
Jan 9, 2019
Merged

single-quote normalization#1155
ben merged 1 commit intoprogit:masterfrom
ajax333221:master

Conversation

@ajax333221
Copy link
Copy Markdown
Contributor

Found the use of this single quote ’ instead of ' (which looks slightly different).

I found them on files with extension:

  • .sketch *
  • .pdf *
  • .png *
  • .ico *
  • .asc (15 files)

* I didn't modify these since they are binary files which happen to contain them in their gibberishy binariness.

Then also noticed double single-quotation was being used (perhaps for some templating or idk), but I was careful not to mess with them (used a negative lookbehind regexp: (?<!’)’ )

Copy link
Copy Markdown
Member

@ben ben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ben ben merged commit d5eb27a into progit:master Jan 9, 2019
@jnavila
Copy link
Copy Markdown
Member

jnavila commented Jan 9, 2019

Not sure that changing apostrophes to quotes is correct, though.

@ben
Copy link
Copy Markdown
Member

ben commented Feb 3, 2019

Looks like technically we should be using this syntax to be completely unambiguous:

"`Hello there,`" said Joe`'s sister.

According to that document, the single-quote character should always produce a dumb vertical single-quote. However, it looks like the PDF version is getting smart quotes anyways – this section contains the text Many people's version-control, which is rendered with a proper apostrophe in the HTML output as well as the latest PDF download.

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.

3 participants