xpre processing not working as advertised

Bug #1069003 reported by Pieter J. Kersten (EduSense BV)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Reportlabs xpre style paragraphs allows the embedding of control strings as <b>bold</b>, <font color="red">color</font> changes and <a href="link"><u>underlined links</u></a>.

The overall usages of str2xml in the rml render engine disarms all these strings by replacing them with xml entities, rendering the xpre functionality useless.

Attached a patch to enable this. It is to the 6.0 tree, but porting should be trivial.

Revision history for this message
Pieter J. Kersten (EduSense BV) (pieterj) wrote :
Revision history for this message
Pieter J. Kersten (EduSense BV) (pieterj) wrote :

Added a better patch - which enables tag processing for "para", "hx" and "title" as well.
This brings OpenERP RML-rendering on par with Reportlabs documentation -- which it should have been to start with.

Revision history for this message
Pieter J. Kersten (EduSense BV) (pieterj) wrote :

Sorry, wrong source tree...
Final attempt.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers