8
%script{:type => "text/javascript",
9
:src => "javascripts/script_#{42}"}
11
%div{:id => [@item.type, @item.number]}
13
%a(title=@title href=href)
16
%html{html_attrs('fr-fr')}
18
%div[@user, :greeting]
21
%div#Article.article.entry{:id => @article.number}
30
----------------------------------------------------
36
["tag", ["%div#things"]],
37
["tag", ["%div.articles"]],
38
["tag", ["%div.article.title"]],
45
["operator", "="], ["operator", ">"],
46
["string", ["\"text/javascript\""]],
49
["operator", "="], ["operator", ">"],
51
"\"javascripts/script_",
68
["operator", "="], ["operator", ">"],
70
["variable", "@item"],
74
["variable", "@item"],
86
["attr-name", "title"],
88
["attr-value", "@title"],
89
["attr-name", "href"],
91
["attr-value", "href"],
99
["attr-name", "selected"],
107
["punctuation", "{"],
108
["function", "html_attrs"],
109
["punctuation", "("],
110
["string", ["'fr-fr'"]],
111
["punctuation", ")"],
119
["punctuation", "["],
120
["variable", "@user"],
121
["punctuation", ","],
122
["symbol", ":greeting"],
129
["punctuation", "["],
137
"%div#Article.article.entry",
139
["punctuation", "{"],
141
["operator", "="], ["operator", ">"],
142
["variable", "@article"],
143
["punctuation", "."],
149
["tag", ["#collection"]],
153
["tag", ["%blockquote", ["punctuation", "<"]]],
154
["tag", ["%img", ["punctuation", ">"]]]
157
----------------------------------------------------
159
Checks for tags: basic element names, attributes, html-style attributes,
160
attribute methods, boolean attributes, class and id shortcuts,
161
implicit div elements, empty tags and whitespace removal.
b'\\ No newline at end of file'