Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

After upgrading Confluence HTML macro does not work

Daisuke Niwa August 27, 2012

Hi there,

We have found following when upgrading Confluence from 3.5 to 4.2.

HTML macro is shown as "unknown macro" on Confluence pages. We realized that "legacy" html macro was enabled and "xhtml" html macro was disabled by the system.

html(html)
Use HTML code within a Confluence page (Legacy)

html(html-xhtml)
Use HTML code within a Confluence page

Can you let us know the difference of these two ?

Regards,

Daisuke Niwa

1 answer

1 accepted

1 vote
Answer accepted
Bob Swift OSS (Bob Swift Atlassian Apps)
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 27, 2012

There are 2 HTML plugins. One is bundled with Confluence and can be found in the System plugins section as the Confluence HTML Macros plugin. Most of the macros are disabled by default as they are not secure if your site has untrusted users. If this is the one you want to use, then enable the html-xhtml macro. That is the one that works in the new editor. The legacy one is for use with Insert wiki markup.

The second plugin is the HTML Plugin for Confluence which also has an html macro (both xhtml and legacy) - however, these macro can be secured with Macro Security for Confluence. You must disable the system html macros in order to use the macros from this plugin. If you had this installed on your Confluence 3.5 system, then you will want to upgrade to the latest version and note the instructions on the documentation page: HTML Macro

Daisuke Niwa August 27, 2012

Hello Bob,

Thank you a lot for your quick and detailed response.

Regards,

Daisuke Niwa

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events