User Tools

Site Tools


en:public:developer:template_system:tags:parameters:rtfencode

This is an old revision of the document!


Table of Contents

RTFEncode

Parameter “HtmlEncode” specifies that the value of corresponding variable or result of function must be HTML-encoded. HTML encoding means converting the text to format accessible to browsers according to the HTML standards. Control characters will be converted to their HTML-analogues.

If you're interested you can read more in WikiPedia.

NOTE: By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams

Values

Value Description
1 Means that value must be RTF-encoded.
0 Means that value must be RTF-decoded.

Example

<#BusinessActivity setValue="Health & beauty">
<#BusinessActivity HtmlEncode="1">

Output:

Health &#38; beauty
en/public/developer/template_system/tags/parameters/rtfencode.1359380005.txt.gz · Last modified: 2013/01/28 17:33 by admin