Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with lists (both ul and ol)

See original GitHub issue

Love 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:closed
  • Created 3 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

Aymkdncommented, Jul 1, 2021

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: image

rbarbeitocommented, Jul 2, 2021

@Aymkdn Thanks for all the guidance and suggestions, the error was in the construction of the columns with pdfMake.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found