-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native: HTML Markup is removed #161
Comments
can you post your JRXML report snippet? of set to HTML? |
<element kind="textField" uuid="b932b894-ff33-49e4-ade9-ada92f8737e2" stretchType="ElementGroupHeight" x="213" y="48" width="256" height="34" markup="html" fontName="Arial" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Center">
<expression><![CDATA[$F{assinatura_adicional}]]></expression>
</element>
This one or the full report? |
I think that is good enough. |
OK confirmed your issue with an Integration Test. Now let me see if I can fix it. |
In my case it's not just removing the tags, the text inside them is being removed too. Also, I'm not passing a full HTML document to the text field (with |
Yep but the same issue seems to apply its stripping all or most of the tags and sometimes the content between tags. |
OK debugged it the problem is here but I don't know how to fix it: Jasper has this code to parse HTML and its different in Dev mode vs Native Mode. Dev Mode:
Same log in Native mode generates different path...
|
Are both elements the same in dev and native mode? Looks like on dev the word "zebra" is not present... or is this related to the bug? Weird |
Yah that is what i mean this is identical integration test code. SO somewhere in here the "parser" for HTML is whacky and everything is "off" in some way. |
Hello all,
I'm having another problem with native image (this seems to be the last one). When I generate reports, text fields with the Markup property set as "HTML" show up as empty. No text is printed. I tried changing the same text field's markup to "none" and the text printed normally (with HTML tags visible).
This does not happen in dev mode.
I can't post the full report, but here's an example:
With markup set as "none":
With markup set as "html":
In dev mode with markup set as "html":
Am I missing something?
Thanks in advance!
The text was updated successfully, but these errors were encountered: