-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Treat terms with textroles as definition list
if they are no field list
- Loading branch information
Showing
4 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/Integration/tests/lists/definition-lists/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- content start --> | ||
<div class="section" id="definition-list-with-textrole-in-term"> | ||
<h1>Definition list with textrole in term</h1> | ||
|
||
<dl> | ||
<dt><code>One definition</code></dt> | ||
|
||
<dd><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam</p><p>Nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.</p></dd> <dt><code>Another definition</code></dt> | ||
|
||
<dd><div class="admonition note"> | ||
<p>sed diam voluptua. At vero eos et accusam et justo duo dolores | ||
et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est.</p> | ||
</div> | ||
<p>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur.</p></dd> </dl> | ||
|
||
</div> | ||
|
||
<!-- content end --> |
15 changes: 15 additions & 0 deletions
15
tests/Integration/tests/lists/definition-lists/input/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
===================================== | ||
Definition list with textrole in term | ||
===================================== | ||
|
||
:code:`One definition` | ||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam | ||
|
||
Nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. | ||
|
||
:code:`Another definition` | ||
.. note:: | ||
sed diam voluptua. At vero eos et accusam et justo duo dolores | ||
et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est. | ||
|
||
Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur. |