Explorar el Código

formatter: use Pleroma.HTML module instead of HtmlSanitizeEx directly

tags/v0.9.9
William Pitcock hace 5 años
padre
commit
52b05137c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      lib/pleroma/formatter.ex

+ 1
- 1
lib/pleroma/formatter.ex Ver fichero

@@ -193,7 +193,7 @@ defmodule Pleroma.Formatter do

# TODO: make it use something other than @link_regex
def html_escape(text, "text/html") do
HtmlSanitizeEx.basic_html(text)
HTML.filter_tags(text)
end

def html_escape(text, "text/plain") do


Cargando…
Cancelar
Guardar