Skip to content

Smarty does a poor job at German apostrophes #396

@gandaro

Description

@gandaro

Configuring it with the correct values for 'left-single-quote' and 'right-single-quote', it gives wrong apostrophes, for example:

"O'Reilly" → "O‘Reilly" (correct is "O’Reilly")
"Alice'" → "Alice‘" (correct is "Alice’")
{
    'markdown.extensions.smarty': {
        'substitutions': {
            'left-single-quote': '‚',
            'right-single-quote': '‘',
            'left-double-quote': '„',
            'right-double-quote': '“'
        }
    }
}

So you should be able to tell smarty: I want apostrophes instead of right-single-quotes.

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