浏览代码

Sanitizer: allow <hr> tags

earmark
Alex Gleason Mark Felder 3 年前
父节点
当前提交
b2548cfcda
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      priv/scrubbers/default.ex

+ 1
- 0
priv/scrubbers/default.ex 查看文件

@@ -39,6 +39,7 @@ defmodule Pleroma.HTML.Scrubber.Default do
Meta.allow_tag_with_these_attributes(:code, [])
Meta.allow_tag_with_these_attributes(:del, [])
Meta.allow_tag_with_these_attributes(:em, [])
Meta.allow_tag_with_these_attributes(:hr, [])
Meta.allow_tag_with_these_attributes(:i, [])
Meta.allow_tag_with_these_attributes(:li, [])
Meta.allow_tag_with_these_attributes(:ol, [])


正在加载...
取消
保存