Giter Club home page Giter Club logo

Comments (6)

Aymkdn avatar Aymkdn commented on August 28, 2024 1

I've just left on vacation for two weeks. I'll have a look at it on my return.

from html-to-pdfmake.

Aymkdn avatar Aymkdn commented on August 28, 2024 1

That should be resolved with v1.0.7

from html-to-pdfmake.

Aymkdn avatar Aymkdn commented on August 28, 2024 1

It should be resolved with v2.3.5

from html-to-pdfmake.

Aymkdn avatar Aymkdn commented on August 28, 2024

Mmhhh... Actually, how do you do it with pure PDFMake code? Because whatever I tried on http://pdfmake.org/playground.html it always has the same behavior...

So, could you share the PDFMake code you use?

from html-to-pdfmake.

Aymkdn avatar Aymkdn commented on August 28, 2024

Nevermind, I finally found it :

ul: [
      {text: [
         text: ' Excepturi quos ', marginLeft: 5 },
          { text: 'accusantium', bold: true },
          { text: ' autem impedit. ' }
     ]}
]

I'm working on it now.

from html-to-pdfmake.

ivesdebruycker avatar ivesdebruycker commented on August 28, 2024

Actually, this is still an issue with nested lists:

<ul>
  <li> Excepturi quos <strong>accusantium</strong> autem impedit. 
    <ul>
      <li> Excepturi quos <strong>accusantium</strong> autem impedit. </li>
    </ul>
  </li>
</ul>

The first item is split in 3 lines (subitem is 1 line, as it should).

A quick temporary "solution" (and depending on your style):

<ul>
  <li> Excepturi quos <strong>accusantium</strong> autem impedit.</li>
</ul>
<ul><li><ul><li> Excepturi quos <strong>accusantium</strong> autem impedit.</li></ul></li></ul>

from html-to-pdfmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.