From 4c74738b785d4a4978f59179fba9de1eb0ed99be Mon Sep 17 00:00:00 2001 From: RobertDober Date: Sat, 18 May 2019 22:47:57 +0200 Subject: [PATCH] Specing #240 --- .../regressions/i240_code_inside_lists_test.exs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/regressions/i240_code_inside_lists_test.exs diff --git a/test/regressions/i240_code_inside_lists_test.exs b/test/regressions/i240_code_inside_lists_test.exs new file mode 100644 index 00000000..bd1d5a4a --- /dev/null +++ b/test/regressions/i240_code_inside_lists_test.exs @@ -0,0 +1,17 @@ +defmodule Regressions.I240CodeInsideListsTest do + use Support.AcceptanceTestCase + + test "code in li" do + markdown = """ + * List Item + + Description + + Some Code + """ + html = "\n" + messages = [] + + assert as_html(markdown) == {:ok, html, messages} + end +end