Skip to content

Make all jinja {{ interpolation }} safe for MarkDown #78

Description

@saraedum

Basically, whenever we use an interpolation, we would have to escape the output for MarkDown, i.e., write something like {{ md_escape(variable) }}. That's very tedious. Since jinja already escapes HTML automatically (I believe) there is probably a way to tell it to also escape MarkDown when variable is a string (and not a Markup object.)

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