Commit eb8dfbc9 authored by rinpatch's avatar rinpatch

meta: avoid using a sub-binary

parent e5155c68
Pipeline #22713 failed with stage
in 22 seconds
......@@ -127,7 +127,7 @@ defmodule FastSanitize.Sanitizer.Meta do
def scrub({_tag, _attributes, children}), do: children
# Text is left alone
def scrub("" <> text), do: text
def scrub("" <> _ = text), do: text
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment