empty line between a paragraph and a list in jasper
01:54 19 Dec 2025

I'm working with jasper reports 6.1.1

I'm passing a HTML structure into a text field something like this:


    
    
    
    
    
    
        
    
    
    
    
    
    
    

html that i pass into a html parameter.

List of Tests

  • test 1
  • test 2
  • test 3

but between the paragraph and the list there's an empty line:

enter image description here

I want the list to start directly under the paragraph.

I tried to replace paragraphs with divs and I also tried to add styling like below, but nothing seems to have an effect

p { margin: 0; }

ul { margin-top: 0; }
html jasper-reports