Ignore:
Timestamp:
8 Mar 2012, 16:30:34 (13 years ago)
Author:
Henrik Bettermann
Message:

Insert a br tag if widgets contain div tags which are not supported by reportlab.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/pdf.py

    r7714 r7804  
    178178            f_label = Paragraph(f_label, style["Normal"])
    179179            f_text = '<font size=12>%s</font>' % widget()
     180            # Add br tag if widgets contain div tags
     181            # which are not supported by reportlab
     182            f_text = f_text.replace('</div>', '<br /></div>')
    180183            f_text = Paragraph(f_text, style["Normal"])
    181184            data.append([f_label,f_text])
Note: See TracChangeset for help on using the changeset viewer.