fix markdown formatting

This commit is contained in:
Maksim Pechnikov 2018-12-14 12:41:55 +03:00
commit baead4ea4b
7 changed files with 49 additions and 11 deletions

View file

@ -17,15 +17,9 @@ defmodule Pleroma.HTML do
end)
end
def filter_tags(html, scrubber) do
html |> Scrubber.scrub(scrubber)
end
def filter_tags(html, scrubber), do: Scrubber.scrub(html, scrubber)
def filter_tags(html), do: filter_tags(html, nil)
def strip_tags(html) do
html |> Scrubber.scrub(Scrubber.StripTags)
end
def strip_tags(html), do: Scrubber.scrub(html, Scrubber.StripTags)
end
defmodule Pleroma.HTML.Scrubber.TwitterText do