In the hello-blueprint example provided by Atlassian (https://bitbucket.org/atlassian/hello-blueprint.git), there is an example of a variable containing xhtml content:
<at:var at:name="xhtmlString" at:rawXhtml='true' />
This is defined in the context provider (HelloContextProvider.java) like so:
context.put("xhtmlString", "<em>Hello I am emphasised</em>");
However, when I create a page using this template, the content is encoded, so the page storage format contains:
<p><em>Hello I am emphasised</em></p>
Is there something else that needs to be done to get the at:rawXhtml=true attribute to work correctly?
Hi!
You need to take care of case-sensitivity with at:raxhtml
<at:var at:name="xhtmlString" at:rawxhtml='true' />
Regards,
Hans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.