Jump to content
Changes to the Jaspersoft community edition download ×

When was support for <p> elements removed?


Go to solution Solved by teodord,

Recommended Posts

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

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...