From 79579a07afa1d6fa95b793c043f7bf3421b4c4dd Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 20 Dec 2019 09:51:50 -0500 Subject: [PATCH] string safety --- lib/textile/parser_helpers.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/textile/parser_helpers.ex b/lib/textile/parser_helpers.ex index e49d11aa..bef206e6 100644 --- a/lib/textile/parser_helpers.ex +++ b/lib/textile/parser_helpers.ex @@ -30,6 +30,7 @@ defmodule Textile.ParserHelpers do def remove_linefeeds(text) do text + |> to_string() |> String.replace("\r", "") end @@ -43,4 +44,4 @@ defmodule Textile.ParserHelpers do def escape_html(text) do html_escape(text) |> safe_to_string() end -end \ No newline at end of file +end