Skip to content

Commit

Permalink
Specing #240
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertDober committed May 18, 2019
1 parent ce0ae71 commit 4c74738
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/regressions/i240_code_inside_lists_test.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
defmodule Regressions.I240CodeInsideListsTest do
use Support.AcceptanceTestCase

test "code in li" do
markdown = """
* List Item
Description
Some Code
"""
html = "<ul>\n<li><p>List Item</p>\n<p> Description</p>\n<pre><code>Some Code</code></pre>\n</li>\n</ul>\n"
messages = []

assert as_html(markdown) == {:ok, html, messages}
end
end

0 comments on commit 4c74738

Please sign in to comment.