Skip to content

Should ASCII apostrophes be replaced with U+2019 RIGHT SINGLE QUOTATION MARK ? #703

Description

@gibson042

Related to #701, there are also instances of U+0027 APOSTROPHE (') in ECMA-262 and ECMA-402 that could be replaced with the so-called "punctuation apostrophe":

  • 's possessives
  • bare plural possessives (workers'/events'/etc.)
  • contractions (don't/we've/etc.)
  • year groups (OOPSLA '97)

ECMA-402 also has one use of ' for quoting (in CanonicalizeUValue: «recommended that implementations use the 'u' extension data»), but that can be avoided by rewording.

I think ecmarkup would just replace any non-code ', assuming that it is not part of a quoting pair—and we have the <!-- emu-format ignore --> escape hatch for any future sites in which that assumption doesn't hold.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions