We use TinyEdit from the Forge to enable users to prepare parts of text to create documents. We feed the HTML into a screen that uses the UltimatePDF webblock to create a PDF.
We recently upgraded to versions 12.0.1 and 12.0.6 and found out that whenever LISTS are used, both Ordered and Unordered, the resulting PDF now shows unwanted extra lines. Both before the list starts, en between every list item.
The text as stored in the database, before being fed into UltimatePDF is this:
The first picture show the HTML text that is fed into UltimatePDF.
The second picture shows
Any ideas on how to fix this?
Cool regards,Peter van Munster
It has to do with the css, it tries to style it better for pdf's
.screen-container {
white-space: pre-wrap;
}
The solution might be, if you have the markup surrounded with a div-container with a class named 'markup-container' you should add a css to your pdf-screen something like this:.screen-container .markup-container {
white-space: normal;