From 9a33adcdd322dfcb535d57c68c2365b0dc2b3e6c Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Tue, 3 Dec 2019 13:02:41 -0600 Subject: Allow kbd tags (#9245) * Allow kbd tags Signed-off-by: jolheiser * Add test Signed-off-by: jolheiser --- modules/markup/sanitizer_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/markup/sanitizer_test.go') diff --git a/modules/markup/sanitizer_test.go b/modules/markup/sanitizer_test.go index 211201d201..be7bdd20e7 100644 --- a/modules/markup/sanitizer_test.go +++ b/modules/markup/sanitizer_test.go @@ -35,6 +35,9 @@ func Test_Sanitizer(t *testing.T) { Hello there! Something has gone wrong, we are working on it. In the meantime, play a game with us at example.com. `, "\n\u00a0\n\nHello there! Something has gone wrong, we are working on it.\nIn the meantime, play a game with us at\u00a0example.com.\n", + + // tags + `Ctrl + C`, `Ctrl + C`, } for i := 0; i < len(testCases); i += 2 { -- cgit v1.2.3