I didn't find anything in the forums that seems to match what I am
trying to do. In our web application we are allowing the user to enter
HTML tags, scripts, etc. into text entry widgets and we handle it as
plain text. However, this is causing me a problem when I get to the
reports.
Project Name Job Name #Contractors
-----------------------------------------------------------------
<br> <p> 10
This is how I want the report to look on the screen and when exported to PDF and CSV. We are storing the text in our DB as HTML Encoded data. If I don't decode the strings when they are sent to the report, I see what I want on the screen, but the exported formats show:
Project Name Job Name #Contractors
-------------------------------------------------------------------
<br;> <p;> 10
Now conversely, if I decode the strings before sending them to the report, I see this on the screen.
Project Name Job Name #Contractors
-------------------------------------------------------------------
10
I see this in the exported formats (PDF/CSV):
Project Name Job Name #Contractors
-------------------------------------------------------------------
<br> <p> 10
Is there any way to get everything to be consistent and show what I want in all cases? Maybe some kind of escaping technique for the strings?
Thanks,
John
Project Name Job Name #Contractors
-----------------------------------------------------------------
<br> <p> 10
This is how I want the report to look on the screen and when exported to PDF and CSV. We are storing the text in our DB as HTML Encoded data. If I don't decode the strings when they are sent to the report, I see what I want on the screen, but the exported formats show:
Project Name Job Name #Contractors
-------------------------------------------------------------------
<br;> <p;> 10
Now conversely, if I decode the strings before sending them to the report, I see this on the screen.
Project Name Job Name #Contractors
-------------------------------------------------------------------
10
I see this in the exported formats (PDF/CSV):
Project Name Job Name #Contractors
-------------------------------------------------------------------
<br> <p> 10
Is there any way to get everything to be consistent and show what I want in all cases? Maybe some kind of escaping technique for the strings?
Thanks,
John