jasperreportsUsersSince200 Posted June 1, 2023 Share Posted June 1, 2023 Hi there,we have been using jasperreports happily in our projects for many years now - users can for example create PDF-documents based on their input in online forms.When users enter line breaks in the online form, our rich editor creates "<p></p>" tags - which was totally fine with PDF-documents created via jasperreports and text fields with markup "html" until some versions ago.When and why was the support (or let's say equivalent handling) of html tag "<p></p>" changed or removed, and is there a way to restore this behavior again? Unfortunately, we were unable to find any information about this.Thank you so much for shedding light on this matter!Regards, Gerd Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted June 1, 2023 Share Posted June 1, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
Aaron Meyers Posted June 1, 2023 Share Posted June 1, 2023 Hi Gerd - I am looking into this question. Can you please specify which version of Jaspersoft you are using? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted June 1, 2023 Share Posted June 1, 2023 Hi,This was a regression introduced in 6.19.0 that has been solved since 6.20.1.https://community.jaspersoft.com/jasperreports-library/issues/14466I hope this helps.Teodor Link to comment Share on other sites More sharing options...
jasperreportsUsersSince200 Posted June 5, 2023 Author Share Posted June 5, 2023 Thank you so much for your quick reply - and sorry for the missing version information. We are running our tests with the latest version 6.20.5.As we still have that problem, we did some more digging, and found out, that the cause seems to be the code minification, which our WYSIWYG-Editor is applying automatically:not working minified snippet..<p>this is a along paragraph At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata...</p><p></p><p></p><p>Regards</p><p></p><p>hugo</p>..[/code]working snippet without minification..<p>this is a along paragraph At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata...</p><br><p></p><br><p></p><br><p>Regards</p><br><p></p><br><p>hugo</p>..[/code]Is there any kind of solution you could suggest? Unfortunately, our WYSIWYG-Editor does not come with an option to store code without minification.Thank you so much for your ideas! Link to comment Share on other sites More sharing options...
Solution Teodor Danciu Posted June 7, 2023 Solution Share Posted June 7, 2023 Hi,This is indeed a regression after the modifications we made to improved bulleted/numbered lists support in the HTML markup processor.It should now be fixed by this commit:https://github.com/TIBCOSoftware/jasperreports/commit/b884e0355759d7dd5b4c1315485c81af57170e0bThank you,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now