diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-10-13 14:27:50 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-12-11 17:22:42 -0600 |
commit | f8c93246d69a193ead81248879ba260e98673b3d (patch) | |
tree | 493fdc9f2b3b4b2aa0734db6a2d7f9fd1b81ac7f /priv/scrubbers/default.ex | |
parent | b2548cfcdabdcb90bfcc9f4022c0b1cff9157a4a (diff) | |
download | pleroma-f8c93246d69a193ead81248879ba260e98673b3d.tar.gz pleroma-f8c93246d69a193ead81248879ba260e98673b3d.zip |
Refactor Earmark code, fix tests
Diffstat (limited to 'priv/scrubbers/default.ex')
-rw-r--r-- | priv/scrubbers/default.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/priv/scrubbers/default.ex b/priv/scrubbers/default.ex index 0893b17e5..4694a92a5 100644 --- a/priv/scrubbers/default.ex +++ b/priv/scrubbers/default.ex @@ -59,6 +59,8 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_this_attribute_values(:span, "class", ["h-card"]) Meta.allow_tag_with_these_attributes(:span, []) + Meta.allow_tag_with_this_attribute_values(:code, "class", ["inline"]) + @allow_inline_images Pleroma.Config.get([:markup, :allow_inline_images]) if @allow_inline_images do |