mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
remove escaping of new lines temporarily
This commit is contained in:
parent
071eecd082
commit
a603961a8a
1 changed files with 2 additions and 2 deletions
|
@ -511,11 +511,11 @@ defmodule Philomena.Textile.ParserMarkdown do
|
|||
|
||||
defp block_textile_element(_parser, [{:double_newline, _} | r_tokens], level)
|
||||
when level == 0 do
|
||||
{:ok, [{:markup, "\\\n\\\n"}], r_tokens}
|
||||
{:ok, [{:markup, "\n\n"}], r_tokens}
|
||||
end
|
||||
|
||||
defp block_textile_element(_parser, [{:newline, _} | r_tokens], level) when level == 0 do
|
||||
{:ok, [{:markup, "\\\n"}], r_tokens}
|
||||
{:ok, [{:markup, "\n"}], r_tokens}
|
||||
end
|
||||
|
||||
defp block_textile_element(parser, tokens, level) do
|
||||
|
|
Loading…
Reference in a new issue