pdf export outputs < as < inside code block


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:

<foo>this is xml</foo>

It is rendered correctly on screen.

Running Confluence 3.5

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



3 answers

1 accepted

0 votes
Accepted answer

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


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.


Or customize the exports to PDF.


Sorry if it doesn't help you.


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.



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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

490 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you