HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Break line in dynamic values › Re: Re: Break line in dynamic values
A placeholder (i.e. $[line1]) substitution is performed after HTML is parsed: that means a DOM-like structure is already build.
$[line1]
code results a creation of a block element contains a single content element.
$[line1]
$[line2]
results a block element with two content elements.
A placeholder substitution is applied to the content elements.
When line1=”text 1
text 2″ dynamic data comes, in theory it should place “text 1” instead of $[line1], delete the trailing content (if any), create a new content element object, assign it to the same parent block object, put “text 2” to it, append the trailing content, deleted before. The functionality is not foreseen and not implemented.
If the situation is critical and there is no feasible workaround – we could urgently implement that on a paid basis, but I need to estimate efforts with the developers.