]> source.dussan.org Git - gitea.git/commit
issue-keyword class is being incorrectly stripped off spans (#16163)
authorzeripath <art27@cantab.net>
Wed, 16 Jun 2021 01:02:03 +0000 (02:02 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 01:02:03 +0000 (03:02 +0200)
commitf4d3bf7867ac48d348f2c17637ca1229466c83bd
tree44697508b6eb4b7743be4695c624ff4e4548d05c
parent3bf7a83d7f19ada1117e514d369b83a20dc4280b
issue-keyword class is being incorrectly stripped off spans (#16163)

Bluemonday sanitizer regexp rules are not additive, so the addition of the icons,
emojis and chroma syntax policy has led to this being stripped.

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/markup/sanitizer.go