From c909555da85c17dac065507e971468248b908b1e Mon Sep 17 00:00:00 2001 From: NamelessContributor Date: Sat, 14 May 2022 04:10:20 +0200 Subject: [PATCH] Notes: allow using -webkit-text-stroke and related These properties are widely supported: https://caniuse.com/text-stroke Currently some notes use multiple text-shadows as a workaround: https://danbooru.donmai.us/notes?search[body_matches]=text-shadow --- app/logical/note_sanitizer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/logical/note_sanitizer.rb b/app/logical/note_sanitizer.rb index ab5b612a9..aa19f8b61 100644 --- a/app/logical/note_sanitizer.rb +++ b/app/logical/note_sanitizer.rb @@ -46,6 +46,8 @@ module NoteSanitizer text-indent text-shadow transform transform-origin + -webkit-text-fill-color + -webkit-text-stroke -webkit-text-stroke-color -webkit-text-stroke-width white-space word-break word-spacing