Problem with lists (both ul and ol)
See original GitHub issueLove your code and sorry to be a nuisance but I’m getting unpredictable results from simple lists
`<p>desc</p><ul><li>line 1</li><li>line 2</li></ul>
<ol><li>line 1</li><li>line 2</li></ol>`
Works fine in your playground but creates this when made file-7.pdf
Help much appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
H48: Using ol, ul and dl for lists or groups of links - W3C
The objective of this technique is to create lists of related items using list elements appropriate for their purposes. The ol element is...
Read more >Layout issues with html lists (ol and ul) in basic pages of the ...
I encounter several layout problems when using html lists (ol and ul) in basic pages of the CERN theme (D8). There are 4...
Read more >Lists within lists - What am I doing wrong? - Codecademy
First, let's discuss the unordered list, <ul></ul> , and the ordered list, <ol></ol> . Both of these elements do not take plain text...
Read more ><ul> and <ol> must only directly contain <li>, <script> or ...
For a list to be valid, it must have both parent elements (a set of ul elements or a set of ol elements)...
Read more >Why are my ul and ol lists not displaying properly in IE7?
Something seems to be breaking the display of lists ( ul and ol ) in IE7. They work fine in IE8, FF, Safari...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You’ll have to find the problem by yourself, because when I test with
<p><strong>DDDDD</strong></p><ol><li>jkdbkjdf</li><li>bjdbfkjadsf</li><li>kjdnfkadf</li></ol><ul><li>kjdfkajdsfnla</li></ul><p><br></p><p>ljasdbfjads ajdhfpija sdifhapisd iasdpfj pOSDJF POIASJDF</p>
, it looks good to me:@Aymkdn Thanks for all the guidance and suggestions, the error was in the construction of the columns with pdfMake.