-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
crazy.html
35 lines (35 loc) · 895 Bytes
/
crazy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<div>
<div>{{ "This" }} is {{ "some " + 'crazy\'\""' }} template</div>
<!--
some comment
-->
<div style="/* some comment */">
This{{
// some comment
" is "
}}some {{
(function(value){
return /* some comment */ value;
}('crazy'))
}}{{@ const whitespace = ' '; }}{{ whitespace }}template
</div>
<div>
{{@
// some comment
let /**
* some comment
*/ test = 1;
}}
{{ test }}
{{@ test++ }}
<!-- some comment -->
{{ test }}
{{@ test++ }}
{{ test === 3 }}
</div>
{{@ const val = "block"; }}
<div style="display: {{ val }}" data-id="{{ val }}">
{{@ const html = decodeURIComponent('%3Cb>bold%3C/b>') }}
{{# html }}
</div>
</div>