Skip to content

Smarty converts apostrophes into quotes #654

@mayo

Description

@mayo

I seem to be getting apostrophes getting replaced with quotes. Eg:

there's one for the books... 'test'.

gets converted to

<p>there&rsquo;s one for the books&hellip; &lsquo;test&rsquo;.</p>

In "there's", it's supposed to be &apos; rather than &lsquo;.

My configuration is:

md = markdown.Markdown(extensions=['markdown.extensions.smarty'], output_format='html5')
md.convert("there's one for the books... 'test'.")

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