diff --git a/lib/ketbin_web/templates/page/show.html.heex b/lib/ketbin_web/templates/page/show.html.heex index 2022e51..d08decc 100644 --- a/lib/ketbin_web/templates/page/show.html.heex +++ b/lib/ketbin_web/templates/page/show.html.heex @@ -9,8 +9,8 @@ <% end %> <%= if @extension == "md" do%> -
<%= raw Ketbin.Utils.Syntax.highlight_text(@paste.content, @extension) |> HtmlSanitizeEx.html5 %>
+ <%= raw Ketbin.Utils.Syntax.highlight_text(@paste.content, @extension) |> HtmlSanitizeEx.strip_tags %>
<% end %>