pdf export outputs < as < inside code block

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

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

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

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

295 views 11 10
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