Просмотр исходного кода

Sanitizer: allow <hr> tags

earmark
Alex Gleason Mark Felder 3 лет назад
Родитель
Сommit
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, [])


Загрузка…
Отмена
Сохранить