| Name | Confluence HTML Macros |
|---|---|
| Vendor | Atlassian Software Systems (Website) |
| Authors | Atlassian Developers |
| Homepage | http://confluence.atlassian.com/display/CONFEXT/Confluence+HTML+Macros |
| Issue Management | http://developer.atlassian.com/jira/browse/HTMLMACROS |
| Categories | Macros |
| Version | 1.4 |
| Availability | Confluence v2.9 to v2.10-m1 |
| State | Stable |
| Support |
|
| License | Freeware / Open Source (BSD) |
| Price | Free |
| Release Docs | http://confluence.atlassian.com/display/CONFEXT/Confluence+HTML+Macros |
| Java API Docs | n/a |
| Download Source | http://svn.atlassian.com/svn/public/contrib/confluence/confluence-html-macros/tags/confluence-html-macros-1.4 |
| Download JAR | confluence-html-macros-1.4.jar |
Compatibility With Confluence
| Plugin Version | 2.7 | 2.8 | 2.9 | Tested |
|---|---|---|---|---|
| 1.4 | |
|
|
David Chui (Aug/21/2008) |
1 — Not compatible due to how the macros are packaged in Confluence. In this version of Confluence, the macros are packaged as part of it (in WEB-INF/lib/confluence-x.x.x.jar) and therefore not upgradable. With that, the compatibility information is irrelevant for this version of Confluence.
Description
This library contains macros that allow users to include raw HTML code within a page. Enabling these macros will open your Confluence site to cross-site scripting attacks. Do not enable them unless you trust all your users!
The {html} Macro
The HTML macro allows you to use HTML code within a Confluence page.
Note that the HTML macro will only be available if it has been enabled by your Confluence administrator.
Usage:
{html} ... code ... {html}
Example:
| What you need to type | What you will get |
|---|---|
| {html}<A href="http://www.atlassian.com">click here</A>{html} | click here |
The {html-include} Macro
The {html-include} macro allows you to include the contents of an HTML file in a Confluence page.
CAUTION: Including unknown HTML inside a webpage is dangerous. Because HTML can contain active scripting components, it would be possible for a malicious attacker to present a user of your site with script that their web browser would believe came from you. Such code could be used, for example, to steal a user's authentication cookie and give the attacker their Confluence login password.
To embed an external page:
{html-include:url=http://www.example.com}
And see also:
Plugin Versions
| Version | Date | State | License | Price |
|
|
09 Jul 2008 | Stable | Freeware / Open Source (BSD) | Free |
|
|
01 Jan 1970 | Stable | Freeware / Open Source (BSD) | Free |

