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

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 vote


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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

194 views 3 3
Join discussion

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