Skip to Content
author's profile photo Former Member
Former Member

WAD - HTML Code is printed when exported to pdf

Hello experts,

I have created a Web application template. I used among others the map item. Within the properties, I defined a legend and a legend header. In the header, I am using a break line. In my browser, everything is displayed fine, as the browser interprets html or xhtml.

This looks the following:

 <bi:LEGEND_CAPTION value="Lorem ipsum&lt;br /&gt; lorem ipsum" /> 

If I now export my template to a pdf-document, the text is writen like this:

Lorem ipsum

< /br>

lorem ipsum

Now my question is, if I somehow could avoid the break-tag actually being printed???

Best regards

Marcus

Edited by: Marcus Preis on Feb 1, 2012 6:32 PM

Edited by: Marcus Preis on Feb 1, 2012 6:32 PM

Edited by: Marcus Preis on Feb 1, 2012 6:33 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 05, 2012 at 12:52 AM

    Dear Marcus, It's best practice not to hardcode the values. You can use the text box option & try to add this text information; that must solve your 1st issue. For br breaks, it will be easy if could isolate the containers/webtemplates & use a suitable element (any indicator) to check where exactly the extra line is getting printed. Best workaround I can suggest is just make a container, drop all the tables/elements/tabs etc inside the container & configure your print button to export PDF/print only the container!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.