fix: Escape markdown preview HTML #53
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stackchain/stackchain-dashboard#53
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "timmy/52-escape-markdown-preview-html"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #52
Escapes user-authored HTML before applying the dashboard markdown transforms, while preserving supported formatting. The renderer is served as a tested browser asset.
Tests:
python3 -m pytest tests/ -q(37 passed)Rendered wiring: dashboard and
/static/markdown.jsboth return HTTP 200.