Fix pattern

This commit is contained in:
byte[] 2021-09-23 22:47:51 -04:00
parent 2dd8c44691
commit aa8b7b9aa6

View file

@ -94,7 +94,7 @@ defmodule Philomena.Textile.ParserMarkdown do
{:ok, tree, [{^close_token, _} | r2_tokens], _level} -> {:ok, tree, [{^close_token, _} | r2_tokens], _level} ->
{:ok, [{:markup, open_tag}, tree, {:markup, close_tag}], r2_tokens} {:ok, [{:markup, open_tag}, tree, {:markup, close_tag}], r2_tokens}
{:ok, tree, r2_tokens} -> {:ok, tree, r2_tokens, _level} ->
{:ok, [{:text, open}, tree], r2_tokens} {:ok, [{:text, open}, tree], r2_tokens}
end end
end end