Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10.3
-
None
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
You can reproduce easily by displaying the code of a large Java class like https://raw.githubusercontent.com/xwiki/xwiki-platform/xwiki-platform-14.10.3/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-api/src/main/java/org/xwiki/export/pdf/internal/job/PDFExportJob.java inside a wiki page, using the code macro of course, and then exporting that page to PDF.
The long lines exceed / overflow the code macro borders and the print page width and are cut. The biggest issue is that the code that doesn't fit the print page width is lost.