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

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

109 views 12 6
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