fix(pastes): sanitize paste content while rendering

Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2021-08-17 03:00:24 +05:30
1 parent 182a5b1e55
commit 8b7c362611
5 files changed
+11 -3

No files matched your search

+2 -1
View File
@@ -47,7 +47,8 @@ defmodule Ketbin.MixProject do
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.0"},
{:phx_gen_auth, "~> 0.7", only: [:dev], runtime: false},
{:rustler, "~> 0.22-rc"}
{:rustler, "~> 0.22-rc"},
{:html_sanitize_ex, "~> 1.4"},
]
end