mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
escape all newlines
This commit is contained in:
parent
8f700c0bed
commit
fd867cbbbe
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue