Skip to content

Escape the HTML within code blocks #437

@mmattel

Description

@mmattel

Referencing: Fix and improve highlighting with highlight.js

highlight.js reports in the browser console about unescaped HTML. The messaging is stopped via the referenced PR but the problem is not solved. We have to find a proper way to escape HTML for source blocks.

Note that the security issue is present for a long time but nobody took care. The messaging fix is just a cosmetic thing.

@xoxys fyi

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