Procházet zdrojové kódy

Sanitizer: allow <hr> tags

earmark
Alex Gleason Mark Felder před 3 roky
rodič
revize
b2548cfcda
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      priv/scrubbers/default.ex

+ 1
- 0
priv/scrubbers/default.ex Zobrazit soubor

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


Načítá se…
Zrušit
Uložit