projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into 'fix/mix-task-uploads-moduledoc'
[akkoma]
/
lib
/
pleroma
/
html.ex
diff --git
a/lib/pleroma/html.ex
b/lib/pleroma/html.ex
index 5daaa5e694fea6375c4bf9eb08a70770c7455da2..8a0333461557a1000108e8b3d802d77be1d310ff 100644
(file)
--- a/
lib/pleroma/html.ex
+++ b/
lib/pleroma/html.ex
@@
-166,7
+166,7
@@
defmodule Pleroma.HTML.Transform.MediaProxy do
{"src", media_url}
end
{"src", media_url}
end
- def scrub_attribute(tag, attribute), do: attribute
+ def scrub_attribute(
_
tag, attribute), do: attribute
def scrub({"img", attributes, children}) do
attributes =
def scrub({"img", attributes, children}) do
attributes =
@@
-177,9
+177,9
@@
defmodule Pleroma.HTML.Transform.MediaProxy do
{"img", attributes, children}
end
{"img", attributes, children}
end
- def scrub({:comment, children}), do: ""
+ def scrub({:comment,
_
children}), do: ""
def scrub({tag, attributes, children}), do: {tag, attributes, children}
def scrub({tag, attributes, children}), do: {tag, attributes, children}
- def scrub({tag, children}), do: children
+ def scrub({
_
tag, children}), do: children
def scrub(text), do: text
end
def scrub(text), do: text
end