453b1f3612c9ac6a69f9eb34a7b7910600f87386 — Diederik de Haas 2 months ago c868015 0.68.24
core.sr.ht: markdown.py: add <br> to ALLOWED_TAGS

The <br> element is a useful element for the structure of the text where
a newline is wanted, but not the empty line you'd get with <p>.
1 files changed, 1 insertions(+), 1 deletions(-)

M srht/markdown.py
M srht/markdown.py => srht/markdown.py +1 -1
@@ 173,7 173,7 @@ except ImportError:

_sanitizer = bleach.sanitizer.Cleaner(
    tags=bleach.sanitizer.ALLOWED_TAGS + [
        "p", "div", "span", "pre", "hr",
        "p", "div", "span", "pre", "hr", "br",
        "dd", "dt", "dl",
        "table", "thead", "tbody", "tr", "th", "td",