You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Requests to normalize the referenced values to allow inserting as raw XHTML.
This property allows template authors to render an XHMTL value instead of a plain string entered by the user with a wizard.
Since it is used to normalize property values, redundant block elements are removed.
Example of Usage
A template author decides to allow XHTML for the short description (identified by projectdoc.doctype.common.shortDescription
) in the wizard.
<textarea
id="projectdoc.doctype.common.shortDescription"
name="projectdoc.doctype.common.shortDescription"
class="textarea long-field"
placeholder="{getText('projectdoc.blueprint.form.label.shortDescription.placeholder')}"
rows="6"></textarea>
<input
id="projectdoc-adjustVarValues-toXhtml"
name="projectdoc-adjustVarValues-toXhtml"
type="hidden"
value="projectdoc.doctype.common.shortDescription">
In the template the property is now inserted as raw XHTML.
<tr>
<th class="confluenceTh"><at:i18n at:key="projectdoc.doctype.common.shortDescription"/></th>
<td class="confluenceTd"><at:var at:name="projectdoc.doctype.common.shortDescription"
at:rawxhtml="true"/></td>
<td class="confluenceTd"></td>
</tr>