Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5.1
-
Fix Version/s: 2.5.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
When generating PDF it will include content from my xdoc with <script> tags. I have some analytics tags which I obviously don't want appearing in the PDF but I can't figure out a way of "tricking" the plugin to ignore text. Font and color changes are ignore (as mentioned in a previous JIRA issue).
Its interesting to note though that when the content does appear in the PDF it isn't formatted to the same font etc as the rest of the document.
Thanks
If you just want to ignore any <script> tags, insert the following in fo-body.xslt:
<xsl:template match="script"/>otherwise be more specific about your input and expected/actual output.
<xsl:template match="script"/>