Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should kramdown treat dd elements like other list entries? #482

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More tests for the :auto_dd_para option
  • Loading branch information
ccorn committed Jan 8, 2018
commit eaa16233d860684eb282d69a25174775019dbbb8
31 changes: 25 additions & 6 deletions test/testcases/block/13_definition_list/auto_dd_para.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
<dl>
<dt>item</dt>
<dt>item1</dt>
<dd>
<p>text</p>
<p>para-iff-auto</p>

<p>text</p>
<p>para</p>
</dd>
<dt>item 2</dt>
<dt>item2</dt>
<dd>
<p>text2</p>
<p>text2</p>
<p>para-iff-auto</p>
<p>para</p>
</dd>
<dt>item3</dt>
<dd>
<p>para</p>
</dd>
<dt>item4</dt>
<dd>inline</dd>
<dt>item5</dt>
<dd>
<p>para-iff-auto</p>
</dd>
<dt>item6</dt>
<dd>
<p>para</p>
</dd>
<dt>item7</dt>
<dd>inline</dd>
<dt>item9</dt>
<dd>inline</dd>
</dl>

36 changes: 30 additions & 6 deletions test/testcases/block/13_definition_list/auto_dd_para.text
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
item
: text
item1
: para-iff-auto

text
para

item 2
: text2
item2
: para-iff-auto
^
text2
para

item3

: para

item4
: inline

item5
: para-iff-auto
^

item6
: ^
para

item7
:
inline

item9
: inline