Warning, /frameworks/syntax-highlighting/autotests/reference/test.mustache.ref is written in an unsupported language. File is not indexed.
0001 <Comment><!-- Mustache / Handlebars / Ractive template --></Comment><br/> 0002 <Doctype><!DOCTYPE</Doctype><Normal Text> html</Normal Text><Doctype>></Doctype><br/> 0003 <Element Tag><html></Element Tag><br/> 0004 <Normal Text> </Normal Text><Element Tag><head></Element Tag><br/> 0005 <Normal Text> </Normal Text><Element Tag><meta</Element Tag><Attribute> charset</Attribute><Symbol>=</Symbol><Value>"UTF-8"</Value><Normal Text> </Normal Text><Element Tag>/></Element Tag><br/> 0006 <Normal Text> </Normal Text><Element Tag><title></Element Tag><Mustache Variable>{{</Mustache Variable><Mustache Inside>title</Mustache Inside><Mustache Variable>}}</Mustache Variable><Element Tag></title></Element Tag><br/> 0007 <Normal Text> </Normal Text><Element Tag></head></Element Tag><br/> 0008 <Normal Text> </Normal Text><Comment><!-- CSS --></Comment><br/> 0009 <Normal Text> </Normal Text><Element Tag><style></Element Tag><br/> 0010 <Normal Text> </Normal Text><Comment>/* Mustache variable support in CSS is incomplete */</Comment><br/> 0011 <Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>mustache</Mustache Inside><Mustache Variable>}}</Mustache Variable><br/> 0012 <Normal Text> </Normal Text><CSS: Selector Attribute>[ </CSS: Selector Attribute><Mustache Variable>{{</Mustache Variable><Mustache Inside>other</Mustache Inside><Mustache Variable>}}</Mustache Variable><CSS: Selector Attribute> ]</CSS: Selector Attribute><br/> 0013 <Normal Text> </Normal Text><Selector Tag>body</Selector Tag><Normal Text> </Normal Text><Normal Text>{</Normal Text><br/> 0014 <Normal Text> </Normal Text><Mustache Variable Unescape>{{{</Mustache Variable Unescape><Mustache Inside>other</Mustache Inside><Mustache Variable Unescape>}}}</Mustache Variable Unescape><br/> 0015 <Normal Text> </Normal Text><Property>font-size</Property><Property Separator>:</Property Separator><Normal Text> </Normal Text><Number>15</Number><Unit>pt</Unit><Separator Symbol>;</Separator Symbol><br/> 0016 <Normal Text> </Normal Text><Property>font-family</Property><Property Separator>:</Property Separator><Normal Text> Verdana</Normal Text><Separator Symbol>;</Separator Symbol><br/> 0017 <Normal Text> </Normal Text><Normal Text>}</Normal Text><br/> 0018 <Normal Text> </Normal Text><Element Tag></style></Element Tag><br/> 0019 <Normal Text> </Normal Text><Comment><!-- JavaScript --></Comment><br/> 0020 <Normal Text> </Normal Text><Element Tag><script></Element Tag><br/> 0021 <Normal Text> </Normal Text><Keyword>var</Keyword><Normal Text> foo </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>bar</Mustache Inside><Mustache Variable>}}</Mustache Variable><Symbol>;</Symbol><br/> 0022 <Normal Text> </Normal Text><JS: Template>`template </JS: Template><Mustache Variable>{{</Mustache Variable><Mustache Inside>foo</Mustache Inside><Mustache Variable>}}</Mustache Variable><JS: Template> </JS: Template><JS: Substitution>${</JS: Substitution><Normal Text> </Normal Text><Keyword>var</Keyword><Normal Text> </Normal Text><Normal Text>a </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>b</Mustache Inside><Mustache Variable>}}</Mustache Variable><Normal Text> </Normal Text><JS: Substitution>}</JS: Substitution><JS: Template>`</JS: Template><br/> 0023 <Normal Text> </Normal Text><Element Tag></script></Element Tag><br/> 0024 <Normal Text></Normal Text><br/> 0025 <Normal Text> </Normal Text><Element Tag><body></Element Tag><br/> 0026 <Normal Text> </Normal Text><Mustache Block>{{#movie}}</Mustache Block><br/> 0027 <Normal Text> </Normal Text><Element Tag><div></Element Tag><br/> 0028 <Normal Text> </Normal Text><Element Tag><h1></Element Tag><Mustache Variable>{{</Mustache Variable><Mustache Inside>title</Mustache Inside><Mustache Variable>}}</Mustache Variable><Element Tag></h1></Element Tag><br/> 0029 <Normal Text> </Normal Text><Element Tag><img</Element Tag><Attribute> src</Attribute><Symbol>=</Symbol><Value>"</Value><Mustache Variable>{{</Mustache Variable><Mustache Inside>poster</Mustache Inside><Mustache Variable>}}</Mustache Variable><Value>"</Value><Attribute> alt</Attribute><Symbol>=</Symbol><Value>"</Value><Mustache Variable>{{</Mustache Variable><Mustache Inside>title</Mustache Inside><Mustache Variable>}}</Mustache Variable><Value>"</Value><Element Tag>/></Element Tag><br/> 0030 <Normal Text> </Normal Text><Element Tag></div></Element Tag><br/> 0031 <Normal Text> </Normal Text><Element Tag><div></Element Tag><br/> 0032 <Normal Text> Rating - </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>ratings</Mustache Inside><Symbol>.</Symbol><Mustache Inside>critics_rating</Mustache Inside><Mustache Variable>}}</Mustache Variable><br/> 0033 <Normal Text> </Normal Text><Element Tag></div></Element Tag><br/> 0034 <Normal Text> </Normal Text><Mustache Block>{{/movie}}</Mustache Block><br/> 0035 <Normal Text> </Normal Text><Mustache Block>{{^movie}}</Mustache Block><br/> 0036 <Normal Text> </Normal Text><Element Tag><div></Element Tag><br/> 0037 <Normal Text> Movie Does Not Exist :(</Normal Text><br/> 0038 <Normal Text> </Normal Text><Element Tag></div></Element Tag><br/> 0039 <Normal Text> </Normal Text><Mustache Block>{{/movie}}</Mustache Block><br/> 0040 <Normal Text> </Normal Text><Comment>{{! this is a comment </Comment><Alert Level 2>TODO</Alert Level 2><Comment> </Comment><Alert Level 1>ALERT</Alert Level 1><Comment> }}</Comment><br/> 0041 <Normal Text></Normal Text><br/> 0042 <Normal Text> This is a partial </Normal Text><Mustache Variable>{{></Mustache Variable><Mustache Partial> partial1 </Mustache Partial><Mustache Variable>}}</Mustache Variable><br/> 0043 <Normal Text> </Normal Text><Mustache Block>{{#block</Mustache Block><br/> 0044 <Mustache Inside> </Mustache Inside><Attribute> param</Attribute><Symbol>=</Symbol><Mustache Inside>foo</Mustache Inside><br/> 0045 <Mustache Inside> </Mustache Inside><Attribute> param2</Attribute><Symbol>=</Symbol><Mustache Inside>bar</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0046 <Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>block</Mustache Inside><Attribute> foo</Attribute><Symbol>=</Symbol><Mustache Inside>bar</Mustache Inside><Mustache Variable>}}</Mustache Variable><br/> 0047 <Normal Text> </Normal Text><Mustache Block>{{/block}}</Mustache Block><br/> 0048 <Normal Text></Normal Text><br/> 0049 <Normal Text> </Normal Text><Comment><!-- Handlebars --></Comment><br/> 0050 <Normal Text></Normal Text><br/> 0051 <Normal Text> </Normal Text><Mustache Block>{{#list</Mustache Block><Mustache Inside> people</Mustache Inside><Mustache Block>}}</Mustache Block><Mustache Variable>{{</Mustache Variable><Mustache Inside>firstName</Mustache Inside><Mustache Variable>}}</Mustache Variable><Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>lastName</Mustache Inside><Mustache Variable>}}</Mustache Variable><Mustache Block>{{/list}}</Mustache Block><br/> 0052 <Normal Text> </Normal Text><Mustache Block>{{#noop}}</Mustache Block><Mustache Variable>{{</Mustache Variable><Mustache Inside>body</Mustache Inside><Mustache Variable>}}</Mustache Variable><Mustache Block>{{/noop}}</Mustache Block><br/> 0053 <Normal Text> </Normal Text><Mustache Block>{{#with</Mustache Block><Mustache Inside> story</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0054 <Normal Text> </Normal Text><Element Tag><div</Element Tag><Attribute> class</Attribute><Symbol>=</Symbol><Value>"intro"</Value><Element Tag>></Element Tag><Mustache Variable Unescape>{{{</Mustache Variable Unescape><Mustache Inside>intro</Mustache Inside><Mustache Variable Unescape>}}}</Mustache Variable Unescape><Element Tag></div></Element Tag><br/> 0055 <Normal Text> </Normal Text><Element Tag><div</Element Tag><Attribute> class</Attribute><Symbol>=</Symbol><Value>"body"</Value><Element Tag>></Element Tag><Mustache Variable Unescape>{{{</Mustache Variable Unescape><Mustache Inside>body</Mustache Inside><Mustache Variable Unescape>}}}</Mustache Variable Unescape><Element Tag></div></Element Tag><br/> 0056 <Normal Text> </Normal Text><Mustache Block>{{/with}}</Mustache Block><br/> 0057 <Normal Text> </Normal Text><Mustache Block>{{#each</Mustache Block><Mustache Inside> comments</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0058 <Normal Text> </Normal Text><Element Tag><div</Element Tag><Attribute> class</Attribute><Symbol>=</Symbol><Value>"comment"</Value><Element Tag>></Element Tag><br/> 0059 <Normal Text> </Normal Text><Element Tag><h2></Element Tag><Mustache Variable>{{</Mustache Variable><Mustache Inside>subject</Mustache Inside><Mustache Variable>}}</Mustache Variable><Element Tag></h2></Element Tag><br/> 0060 <Normal Text> </Normal Text><Mustache Variable Unescape>{{{</Mustache Variable Unescape><Mustache Inside>body</Mustache Inside><Mustache Variable Unescape>}}}</Mustache Variable Unescape><br/> 0061 <Normal Text> </Normal Text><Element Tag></div></Element Tag><br/> 0062 <Normal Text> </Normal Text><Mustache Block>{{/each}}</Mustache Block><br/> 0063 <Normal Text> </Normal Text><Mustache Block>{{#list</Mustache Block><Mustache Inside> nav</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0064 <Normal Text> </Normal Text><Element Tag><a</Element Tag><Attribute> href</Attribute><Symbol>=</Symbol><Value>"</Value><Mustache Variable>{{</Mustache Variable><Mustache Inside>url</Mustache Inside><Mustache Variable>}}</Mustache Variable><Value>"</Value><Element Tag>></Element Tag><Mustache Variable>{{</Mustache Variable><Mustache Inside>title</Mustache Inside><Mustache Variable>}}</Mustache Variable><Element Tag></a></Element Tag><br/> 0065 <Normal Text> </Normal Text><Mustache Block>{{/list}}</Mustache Block><br/> 0066 <Normal Text></Normal Text><br/> 0067 <Normal Text> </Normal Text><Comment>{{!-- Conditionals --}}</Comment><br/> 0068 <Normal Text> </Normal Text><Mustache Block>{{#if</Mustache Block><Mustache Inside> isActive</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0069 <Normal Text> </Normal Text><Element Tag><img</Element Tag><Attribute> src</Attribute><Symbol>=</Symbol><Value>"star.gif"</Value><Attribute> alt</Attribute><Symbol>=</Symbol><Value>"Active"</Value><Element Tag>></Element Tag><br/> 0070 <Normal Text> </Normal Text><Mustache Block>{{else if</Mustache Block><Mustache Inside> isInactive</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0071 <Normal Text> </Normal Text><Element Tag><img</Element Tag><Attribute> src</Attribute><Symbol>=</Symbol><Value>"cry.gif"</Value><Attribute> alt</Attribute><Symbol>=</Symbol><Value>"Inactive"</Value><Element Tag>></Element Tag><br/> 0072 <Normal Text> </Normal Text><Mustache Block>{{else}}</Mustache Block><br/> 0073 <Normal Text> </Normal Text><Element Tag><img</Element Tag><Attribute> src</Attribute><Symbol>=</Symbol><Value>"cry.gif"</Value><Attribute> alt</Attribute><Symbol>=</Symbol><Value>""</Value><Element Tag>></Element Tag><br/> 0074 <Normal Text> </Normal Text><Mustache Block>{{/if}}</Mustache Block><br/> 0075 <Normal Text></Normal Text><br/> 0076 <Normal Text> </Normal Text><Comment>{{!-- Escaping --}}</Comment><br/> 0077 <Normal Text> \{{escaped}}</Normal Text><br/> 0078 <Normal Text> </Normal Text><Mustache Block>{{{{raw}}}}</Mustache Block><br/> 0079 <Normal Text> {{escaped}}</Normal Text><br/> 0080 <Normal Text> </Normal Text><Mustache Block>{{{{/raw}}}}</Mustache Block><br/> 0081 <Normal Text></Normal Text><br/> 0082 <Normal Text> </Normal Text><Comment>{{!-- Whitespace Control --}}</Comment><br/> 0083 <Normal Text> </Normal Text><Mustache Block>{{#each</Mustache Block><Mustache Inside> nav ~</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0084 <Normal Text> </Normal Text><Element Tag><a</Element Tag><Attribute> href</Attribute><Symbol>=</Symbol><Value>"</Value><Mustache Variable>{{</Mustache Variable><Mustache Inside>url</Mustache Inside><Mustache Variable>}}</Mustache Variable><Value>"</Value><Element Tag>></Element Tag><br/> 0085 <Normal Text> </Normal Text><Mustache Block>{{~#if</Mustache Block><Mustache Inside> test</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0086 <Normal Text> </Normal Text><Mustache Variable>{{</Mustache Variable><Mustache Inside>~title</Mustache Inside><Mustache Variable>}}</Mustache Variable><br/> 0087 <Normal Text> </Normal Text><Mustache Block>{{~^</Mustache Block><Mustache Inside>~</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0088 <Normal Text> Empty</Normal Text><br/> 0089 <Normal Text> </Normal Text><Mustache Block>{{~/if</Mustache Block><Mustache Inside>~</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0090 <Normal Text> </Normal Text><Element Tag></a></Element Tag><br/> 0091 <Normal Text> </Normal Text><Mustache Block>{{~/each}}</Mustache Block><br/> 0092 <Normal Text></Normal Text><br/> 0093 <Normal Text> </Normal Text><Comment>{{!-- Helpers --}}</Comment><br/> 0094 <Normal Text> </Normal Text><Mustache Variable>{{link</Mustache Variable><Mustache Inside> </Mustache Inside><String>"See more..."</String><Mustache Inside> story</Mustache Inside><Symbol>.</Symbol><Mustache Inside>url</Mustache Inside><Mustache Variable>}}</Mustache Variable><br/> 0095 <Normal Text> </Normal Text><Mustache Variable>{{log</Mustache Variable><Mustache Inside> </Mustache Inside><String>"Look at me!"</String><Attribute> level</Attribute><Symbol>=</Symbol><String>"error"</String><Mustache Variable>}}</Mustache Variable><br/> 0096 <Normal Text></Normal Text><br/> 0097 <Normal Text> </Normal Text><Comment>{{!-- Partial --}}</Comment><br/> 0098 <Normal Text> </Normal Text><Mustache Variable>{{></Mustache Variable><Mustache Partial> myPartial</Mustache Partial><Attribute> name</Attribute><Symbol>=..</Symbol><Mustache Partial>/name </Mustache Partial><Mustache Variable>}}</Mustache Variable><br/> 0099 <Normal Text> </Normal Text><Mustache Block>{{#> myPartial</Mustache Block><Mustache Inside> </Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0100 <Normal Text> Failover content</Normal Text><br/> 0101 <Normal Text> </Normal Text><Mustache Block>{{/myPartial}}</Mustache Block><br/> 0102 <Normal Text> </Normal Text><Mustache Block>{{#*inline</Mustache Block><Mustache Inside> </Mustache Inside><String>"myPartial"</String><Mustache Block>}}</Mustache Block><br/> 0103 <Normal Text> My Content</Normal Text><br/> 0104 <Normal Text> </Normal Text><Mustache Block>{{/inline}}</Mustache Block><br/> 0105 <Normal Text> </Normal Text><Mustache Block>{{#each</Mustache Block><Mustache Inside> children</Mustache Inside><Mustache Block>}}</Mustache Block><br/> 0106 <Normal Text> </Normal Text><Mustache Variable>{{></Mustache Variable><Mustache Partial> myPartial</Mustache Partial><Mustache Variable>}}</Mustache Variable><br/> 0107 <Normal Text> </Normal Text><Mustache Block>{{/each}}</Mustache Block><br/> 0108 <Normal Text></Normal Text><br/> 0109 <Normal Text> </Normal Text><Comment><!-- Delimiters in tags (folding) --></Comment><br/> 0110 <Normal Text> word</Normal Text><Element Tag><div></Element Tag><Normal Text>word</Normal Text><br/> 0111 <Normal Text></Normal Text><br/> 0112 <Normal Text> word</Normal Text><Element Tag></div></Element Tag><Normal Text>word</Normal Text><br/> 0113 <Normal Text></Normal Text><br/> 0114 <Normal Text> </Normal Text><Element Tag></body></Element Tag><br/> 0115 <Element Tag></html></Element Tag><br/>