User Tools

Site Tools


en:public:developer:template_system:tags:parameters:htmlencode

This is an old revision of the document!


Table of Contents

HtmlEncode

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.

Values

Value Description
1 Means that value must be HTML-encoded. If something else if specified this parameter will be ignored.

Example

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

Output:

Health &amp; beauty
en/public/developer/template_system/tags/parameters/htmlencode.1354513923.txt.gz · Last modified: 2012/12/03 09:52 by igor