From aa8b7b9aa6dc0978d88e77c8032f65db0f9f4b4f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Thu, 23 Sep 2021 22:47:51 -0400 Subject: [PATCH] Fix pattern --- lib/philomena/textile/parser_markdown.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/textile/parser_markdown.ex b/lib/philomena/textile/parser_markdown.ex index 463a197f..36e6308b 100644 --- a/lib/philomena/textile/parser_markdown.ex +++ b/lib/philomena/textile/parser_markdown.ex @@ -94,7 +94,7 @@ defmodule Philomena.Textile.ParserMarkdown do {:ok, tree, [{^close_token, _} | r2_tokens], _level} -> {: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} end end