Sha256: 5b0667394ae096dfc0620659ef8aefb8083014c3e8005385d64bbb5ff64b4271

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

<HTML><BODY>
<H1> test on string compare </H1>
true:<TMPL_VAR EXPR="'abc' eq 'abc'">
false:<TMPL_VAR EXPR="'ab' eq 'abc'">
false:<TMPL_VAR EXPR="'def' eq 'abc'">

false:<TMPL_VAR EXPR="ONE eq TWO">
false:<TMPL_VAR EXPR="(ONE eq TWO)">

false:<TMPL_VAR EXPR="1 eq 2">
false:<TMPL_VAR EXPR="'1' eq 2">
false:<TMPL_VAR EXPR="2 eq '1'">

testing unescape string
false:<TMPL_VAR EXPR="'\'1' eq '\'2'">
true:<TMPL_VAR EXPR="'\'1' ne '\'2'">

</body></html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html-template-pro-0.0.3 templates-Pro/test_expr5.tmpl
html-template-pro-0.0.2 templates-Pro/test_expr5.tmpl
html-template-pro-0.0.1 templates-Pro/test_expr5.tmpl