string safety

This commit is contained in:
byte[] 2019-12-20 09:51:50 -05:00
parent 058f3840e4
commit 79579a07af

View file

@ -30,6 +30,7 @@ defmodule Textile.ParserHelpers do
def remove_linefeeds(text) do
text
|> to_string()
|> String.replace("\r", "")
end