Skip to content

upgrade to blackfriday.v2 #6

@lrstanley

Description

@lrstanley

Not sure if pongo2 is maintained anymore at this point, however the upgrade from blackfriday v1 to v2 is quite simple (rather than MarkdownCommon, you'd use Run). May also suggest pairing it with bluemonday (or at least providing it as an option):

bluemonday.UGCPolicy().SanitizeBytes(blackfriday.Run([]byte("content here")))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions