From e23cb11b6e2bc404ce49f0308151db22f6f63deb Mon Sep 17 00:00:00 2001 From: SomewhatDamaged Date: Fri, 27 Dec 2019 02:03:45 +1100 Subject: [PATCH] Fix for full image spoiling (#11) Sets the correct `class` for hiding images. --- lib/fast_textile/parser.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fast_textile/parser.ex b/lib/fast_textile/parser.ex index 1c2d3ede..6868fc08 100644 --- a/lib/fast_textile/parser.ex +++ b/lib/fast_textile/parser.ex @@ -240,7 +240,7 @@ defmodule FastTextile.Parser do defp bracketed_image(parser, [{:bracketed_image, img} | r_tokens], _state) do src = escape(parser.image_transform.(img)) - {:ok, [{:markup, ""}], r_tokens} + {:ok, [{:markup, ""}], r_tokens} end defp bracketed_image(_parser, _tokens, _state), do: {:error, "Expected a bracketed image"}