Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
2.26.14
-
None
-
Flagged
Description
In hst-core.tld, there's an example with formattedText attribute but it uses a wrong attribute name in the example:
<tag> <description>This tag can be used to render a Rich Text, Formatted Text or Text field as html. Use the appropriate attribute for each type. </description> <name>html</name> <!-- SNIP --> <attribute> <description>A string containing html markup as generated by the Formatted Text field. This attribute takes precedence over the text attribute. </description> <name>formattedText</name> <required>false</required> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <!-- SNIP --> <example><![CDATA[ <div> <hst:html hippohtml="${document.body}" fullyQualifiedLinks="true" /> <hst:html formatttedhtml="${document.formattedhtml}" /> <hst:html text="${document.intro}" /> </div> ]]></example> </tag>
It should have used 'formattedText' instead in the second example.