pdf export outputs < as < inside code block

Johan Ferner August 27, 2012

Hello,

I just upgraded a bunch of plugins including the pdf export plugin and have come across something strange.

When we export our technical docs to PDF we get:

&lt;foo&gt;this is xml&lt;/foo&gt;

from the following wiki code:

{code}
<foo>this is xml</foo>
{code}

It is rendered correctly on screen.

Running Confluence 3.5

Any ideas? If not, Can I downgrade the plugin?

Thanks,

Johan

3 answers

1 accepted

0 votes
Answer accepted
Johan Ferner September 5, 2012

After contacting the excellent Atlassian support (thanks Peter Koczan) I downgraded the pdf exporter.

The problem persisted. Then I downgraded com.atlassian.confluence.ext.newcode-macro-plugin from 1.9.12 to 1.9.10 and the problem went away.

0 votes
William Zanchet [Atlassian]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2012

Hi Johan,

I was trying to replicate this behavior, but here worked as expected.

Could you please clarify what this <foo> does? That could be the case.

Cheers,

WZ

Johan Ferner September 4, 2012

Hello William, thanks for your answer. <foo> is just some text to demonstrate my problem. I'll try to open a support case and report back here if resolved.

0 votes
Giuliano C_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2012

Johan,

I'm not sure if what you're experiencing is a bug or some kind od expected behavior for earlier versions of Confluence. But, you can take a look at those export customization pages, that speaks how these Export actions goes, what you have to do in some cases.

Maybe you have to modify your PDF Stylesheet to applicate your changes.

https://confluence.atlassian.com/display/CONF34/Editing+the+PDF+Stylesheet

Or customize the exports to PDF.

https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF

Sorry if it doesn't help you.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events