Ver código fonte

Sanitizer: allow <hr> tags

earmark
Alex Gleason Mark Felder 3 anos atrás
pai
commit
b2548cfcda
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      priv/scrubbers/default.ex

+ 1
- 0
priv/scrubbers/default.ex Ver arquivo

@@ -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, [])


Carregando…
Cancelar
Salvar