snippet-1427689534


Snippet: 1427689534 - v1

[Documentation](http://www.miva.com/template-language/miva_template_language/entities_&_encoding.html) [Video Tutorial](http://www.miva.com/videos/web_developers/output-encoding)
Created: 1427689534
View "Snippet: 1427689534 - v1"
<mvt:while expr="g.counter LT 10"> <mvt:assign name="g.counter" value="g.counter + 1" /> &mvte:global:counter;<br> </mvt:while><mvt:while expr="g.counter LT 10"> <mvt:assign name="g.counter" value="g.counter + 1" /> &mvte:global:counter;<br> </mvt:while><mvt:eval expr="2 + 2" /><mvt:assign name="l.settings:sample" value="'<i>Hello World.</i>'" /> <h2>No Encoding</h2> &mvt:sample; <h2>Entity Encoding </h2> <p><small>Can help prevent cross side scripiting</small></p> &mvte:sample; <h2>Attribute Encoding </h2> <p><small>Great for URLs</small></p> &mvta:sample; <mvt:comment> <!-- Click the Result's "View Source" Button for more details. --> </mvt:comment> <mvt:while expr="g.counter LT 10"> <mvt:assign name="g.counter" value="g.counter + 1" /> &mvte:global:counter;<br> </mvt:while><mvt:while expr="g.counter LT 10"> <mvt:assign name="g.counter" value="g.counter + 1" /> &mvte:global:counter;<br> </mvt:while><mvt:while expr="g.counter LT 10"> <mvt:assign name="g.counter" value="g.counter + 1" /> &mvte:global:counter;<br> </mvt:while>