diff options
author | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-06-25 15:17:20 +0200 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-06-25 15:17:20 +0200 |
commit | f5be8427d95217f4efd723575a79f8699b33d003 (patch) | |
tree | cc9c8f9890ba08d18a0962686f54ac92d472a9a0 /html-test | |
parent | 64aee65f62c7184f31d6778d0d3d9b6dc96e4e91 (diff) |
Don't mangle append order for nested lists.
The benefit of this is that the ‘top-level’ element of such lists is
properly wrapped in <p> tags so any CSS working with these will be
applied properly. It also just makes more sense.
Pointed out at jgm/pandoc#1346.
Diffstat (limited to 'html-test')
-rw-r--r-- | html-test/ref/Nesting.html | 54 |
1 files changed, 39 insertions, 15 deletions
diff --git a/html-test/ref/Nesting.html b/html-test/ref/Nesting.html index 1a7f2755..e3302d8f 100644 --- a/html-test/ref/Nesting.html +++ b/html-test/ref/Nesting.html @@ -86,9 +86,13 @@ window.onload = function () {pageLoad();setSynopsis("mini_Nesting.html");}; ><div class="doc" ><ul ><li - >We can<ul + ><p + >We can</p + ><ul ><li - >easily go back<ol + ><p + >easily go back</p + ><ol ><li >some indentation</li ></ol @@ -114,7 +118,9 @@ window.onload = function () {pageLoad();setSynopsis("mini_Nesting.html");}; ><div class="doc" ><ul ><li - >Beginning of list<ul + ><p + >Beginning of list</p + ><ul ><li >second list</li ></ul @@ -133,7 +139,9 @@ the presence of this text pushes it out of nesting back to the top.</li ><div class="doc" ><ul ><li - >Beginning of list<pre + ><p + >Beginning of list</p + ><pre >nested code we preserve the space correctly </pre @@ -149,7 +157,9 @@ the presence of this text pushes it out of nesting back to the top.</li ><div class="doc" ><ul ><li - >Beginning of list<ul + ><p + >Beginning of list</p + ><ul ><li >Nested list</li ></ul @@ -165,7 +175,9 @@ the presence of this text pushes it out of nesting back to the top.</li ><div class="doc" ><ul ><li - >Beginning of list<pre + ><p + >Beginning of list</p + ><pre >nested bird tracks</pre @@ -181,8 +193,10 @@ tracks</pre ><div class="doc" ><ul ><li - >Beginning of list -This belongs to the list above!<pre + ><p + >Beginning of list +This belongs to the list above!</p + ><pre >nested bird tracks @@ -194,12 +208,18 @@ another line without leading space</pre ><ul ><li - >Next list -More of the indented list.<ul + ><p + >Next list +More of the indented list.</p + ><ul ><li - >Deeper<ul + ><p + >Deeper</p + ><ul ><li - >Deeper<ul + ><p + >Deeper</p + ><ul ><li >Even deeper!</li ><li @@ -232,12 +252,16 @@ bird tracks</pre ><ul ><li - >Next list -with more of the indented list content.<p + ><p + >Next list +with more of the indented list content.</p + ><p >Even more content on a new line.</p ><ol ><li - >Different type of list<ol + ><p + >Different type of list</p + ><ol ><li >Deeper</li ></ol |