remove escaping of new lines temporarily

This commit is contained in:
Luna D 2021-09-23 00:13:23 +02:00
parent 071eecd082
commit a603961a8a
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -511,11 +511,11 @@ defmodule Philomena.Textile.ParserMarkdown do
defp block_textile_element(_parser, [{:double_newline, _} | r_tokens], level) defp block_textile_element(_parser, [{:double_newline, _} | r_tokens], level)
when level == 0 do when level == 0 do
{:ok, [{:markup, "\\\n\\\n"}], r_tokens} {:ok, [{:markup, "\n\n"}], r_tokens}
end end
defp block_textile_element(_parser, [{:newline, _} | r_tokens], level) when level == 0 do defp block_textile_element(_parser, [{:newline, _} | r_tokens], level) when level == 0 do
{:ok, [{:markup, "\\\n"}], r_tokens} {:ok, [{:markup, "\n"}], r_tokens}
end end
defp block_textile_element(parser, tokens, level) do defp block_textile_element(parser, tokens, level) do