summaryrefslogtreecommitdiff
path: root/lib/plugins/link/html.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/link/html.ex')
-rw-r--r--lib/plugins/link/html.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/plugins/link/html.ex b/lib/plugins/link/html.ex
index 78f3192..aa78810 100644
--- a/lib/plugins/link/html.ex
+++ b/lib/plugins/link/html.ex
@@ -144,6 +144,9 @@ defmodule Nola.Plugins.Link.HTML do
defp clean_text(text) do
text
|> String.replace("\n", " ")
+ |> String.replace("<br>", " ")
+ |> String.replace("<br/>", " ")
+ |> String.replace("<br />", " ")
|> HtmlEntities.decode()
end
end