A template author decides to allow XHTML for the short description (identified by projectdoc.doctype.common.shortDescription ) in the wizard. Code Block |
---|
language | xml |
---|
title | Property in the Soy Template |
---|
| <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 (at:rawxhtml="true" ). Code Block |
---|
language | xml |
---|
title | Property in Page Template |
---|
| <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> |
|