Allow manual breaks and horizontal lines in comments
commit2b280ea3d864d80da1a49c982867d261ec865e43
authorLukas Fleischer <lfleischer@archlinux.org>
Sun, 8 Apr 2018 07:33:32 +0000 (8 09:33 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 8 Apr 2018 07:33:35 +0000 (8 09:33 +0200)
tree555e24d387c9ff7a0e4de4b50bcf00a9acff7ff5
parenteccd328d428cbe1445118d24b1bf789c5b3b83c9
Allow manual breaks and horizontal lines in comments

When sanitizing rendered comments, keep <hr> tags and <br> tags. The
former are generated when using "---" in Markdown comments, the latter
are used when putting two spaces at the end of a line.

Fixes FS#56649.
aurweb/scripts/rendercomment.py