middleman-sprockets 3.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.travis.yml +10 -0
- data/Gemfile +28 -0
- data/LICENSE +20 -0
- data/README.md +49 -0
- data/Rakefile +19 -0
- data/features/asset_hash.feature +102 -0
- data/features/sass_partials.feature +34 -0
- data/features/sprockets.feature +52 -0
- data/features/sprockets_gems.feature +15 -0
- data/features/support/env.rb +4 -0
- data/fixtures/asset-hash-app/config.rb +7 -0
- data/fixtures/asset-hash-app/source/images/100px.gif +0 -0
- data/fixtures/asset-hash-app/source/images/100px.jpg +0 -0
- data/fixtures/asset-hash-app/source/images/100px.png +0 -0
- data/fixtures/asset-hash-app/source/index.html.erb +308 -0
- data/fixtures/asset-hash-app/source/javascripts/application.js +8 -0
- data/fixtures/asset-hash-app/source/javascripts/sprockets_base.js +5 -0
- data/fixtures/asset-hash-app/source/javascripts/sprockets_sub.js +3 -0
- data/fixtures/asset-hash-app/source/layout.erb +18 -0
- data/fixtures/asset-hash-app/source/other.html.erb +2 -0
- data/fixtures/asset-hash-app/source/partials.html.erb +2 -0
- data/fixtures/asset-hash-app/source/stylesheets/_partial.sass +2 -0
- data/fixtures/asset-hash-app/source/stylesheets/site.css.scss +4 -0
- data/fixtures/asset-hash-app/source/stylesheets/uses_partials.css.sass +4 -0
- data/fixtures/asset-hash-app/source/subdir/index.html.erb +308 -0
- data/fixtures/asset-hash-host-app/config.rb +6 -0
- data/fixtures/asset-hash-host-app/source/images/100px.gif +0 -0
- data/fixtures/asset-hash-host-app/source/images/100px.jpg +0 -0
- data/fixtures/asset-hash-host-app/source/images/100px.png +0 -0
- data/fixtures/asset-hash-host-app/source/index.html.erb +6 -0
- data/fixtures/asset-hash-host-app/source/layout.erb +17 -0
- data/fixtures/asset-hash-host-app/source/other.html.erb +2 -0
- data/fixtures/asset-hash-host-app/source/stylesheets/site.css.scss +4 -0
- data/fixtures/asset-hash-host-app/source/subdir/index.html.erb +6 -0
- data/fixtures/preview-app/config.rb +0 -0
- data/fixtures/preview-app/source/content.html.erb +1 -0
- data/fixtures/preview-app/source/layout.erb +1 -0
- data/fixtures/preview-app/source/stylesheets/_partial.sass +2 -0
- data/fixtures/preview-app/source/stylesheets/_partial2.css.sass +2 -0
- data/fixtures/preview-app/source/stylesheets/main.css.sass +4 -0
- data/fixtures/preview-app/source/stylesheets/main2.css.sass +4 -0
- data/fixtures/preview-app/source/stylesheets/plain.css.sass +2 -0
- data/fixtures/sprockets-app/config.rb +2 -0
- data/fixtures/sprockets-app/source/library/css/bootstrap_include.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/plain.css +3 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_base1.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_base2.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/css/sprockets_sub.css.scss +1 -0
- data/fixtures/sprockets-app/source/library/js/jquery_include.js +1 -0
- data/fixtures/sprockets-app/source/library/js/plain.js +3 -0
- data/fixtures/sprockets-app/source/library/js/sprockets_base.js +5 -0
- data/fixtures/sprockets-app/source/library/js/sprockets_sub.js +3 -0
- data/fixtures/sprockets-app/source/library/js/vendored_include.js +1 -0
- data/fixtures/sprockets-app/vendor/assets/javascripts/vendored_js.js +1 -0
- data/fixtures/sprockets-app2/config.rb +0 -0
- data/fixtures/sprockets-app2/data/test.yml +4 -0
- data/fixtures/sprockets-app2/data/test2.json +4 -0
- data/fixtures/sprockets-app2/source/javascripts/multiple_engines.js.coffee.erb +1 -0
- data/fixtures/sprockets-app2/source/javascripts/sprockets_base.js +5 -0
- data/fixtures/sprockets-app2/source/javascripts/sprockets_sub.js +3 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base1.css.scss +1 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_base2.css.scss +1 -0
- data/fixtures/sprockets-app2/source/stylesheets/sprockets_sub.css.scss +1 -0
- data/lib/middleman-sprockets.rb +7 -0
- data/lib/middleman-sprockets/extension.rb +112 -0
- data/lib/middleman-sprockets/sass.rb +77 -0
- data/lib/middleman-sprockets/version.rb +5 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-sprockets.gemspec +24 -0
- metadata +216 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
|
6
|
+
<%= stylesheet_link_tag "site" %>
|
7
|
+
<%= javascript_include_tag "application" %>
|
8
|
+
<%= yield_content :head %>
|
9
|
+
</head>
|
10
|
+
|
11
|
+
<body class="<%= page_classes %>">
|
12
|
+
|
13
|
+
<div id="main" role="main">
|
14
|
+
<%= yield %>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,308 @@
|
|
1
|
+
<% content_for :head do %>
|
2
|
+
<title>The Middleman!</title>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<h2>Image url:</h2>
|
6
|
+
<p><%= image_path('100px.jpg') %></p>
|
7
|
+
|
8
|
+
<h2>Autogenerated tests:</h2>
|
9
|
+
<p>images/100px.jpg</p>
|
10
|
+
<p>/images/100px.jpg</p>
|
11
|
+
<p>../images/100px.jpg</p>
|
12
|
+
<p>../../images/100px.jpg</p>
|
13
|
+
<p>../../../images/100px.jpg</p>
|
14
|
+
<p>http://example.com/images/100px.jpg</p>
|
15
|
+
<p>aimages/100px.jpga</p>
|
16
|
+
<p>1images/100px.jpg1</p>
|
17
|
+
<p>.images/100px.jpg.</p>
|
18
|
+
<p>-images/100px.jpg-</p>
|
19
|
+
<p>_images/100px.jpg_</p>
|
20
|
+
<p>'images/100px.jpg'</p>
|
21
|
+
<p>'/images/100px.jpg'</p>
|
22
|
+
<p>'../images/100px.jpg'</p>
|
23
|
+
<p>'../../images/100px.jpg'</p>
|
24
|
+
<p>'../../../images/100px.jpg'</p>
|
25
|
+
<p>'http://example.com/images/100px.jpg'</p>
|
26
|
+
<p>'aimages/100px.jpga'</p>
|
27
|
+
<p>'1images/100px.jpg1'</p>
|
28
|
+
<p>'.images/100px.jpg.'</p>
|
29
|
+
<p>'-images/100px.jpg-'</p>
|
30
|
+
<p>'_images/100px.jpg_'</p>
|
31
|
+
<p>"images/100px.jpg"</p>
|
32
|
+
<p>"/images/100px.jpg"</p>
|
33
|
+
<p>"../images/100px.jpg"</p>
|
34
|
+
<p>"../../images/100px.jpg"</p>
|
35
|
+
<p>"../../../images/100px.jpg"</p>
|
36
|
+
<p>"http://example.com/images/100px.jpg"</p>
|
37
|
+
<p>"aimages/100px.jpga"</p>
|
38
|
+
<p>"1images/100px.jpg1"</p>
|
39
|
+
<p>".images/100px.jpg."</p>
|
40
|
+
<p>"-images/100px.jpg-"</p>
|
41
|
+
<p>"_images/100px.jpg_"</p>
|
42
|
+
<p><img src=images/100px.jpg /></p>
|
43
|
+
<p><img src=/images/100px.jpg /></p>
|
44
|
+
<p><img src=../images/100px.jpg /></p>
|
45
|
+
<p><img src=../../images/100px.jpg /></p>
|
46
|
+
<p><img src=../../../images/100px.jpg /></p>
|
47
|
+
<p><img src=http://example.com/images/100px.jpg /></p>
|
48
|
+
<p><img src=aimages/100px.jpga /></p>
|
49
|
+
<p><img src=1images/100px.jpg1 /></p>
|
50
|
+
<p><img src=.images/100px.jpg. /></p>
|
51
|
+
<p><img src=-images/100px.jpg- /></p>
|
52
|
+
<p><img src=_images/100px.jpg_ /></p>
|
53
|
+
<p><img src='images/100px.jpg' /></p>
|
54
|
+
<p><img src='/images/100px.jpg' /></p>
|
55
|
+
<p><img src='../images/100px.jpg' /></p>
|
56
|
+
<p><img src='../../images/100px.jpg' /></p>
|
57
|
+
<p><img src='../../../images/100px.jpg' /></p>
|
58
|
+
<p><img src='http://example.com/images/100px.jpg' /></p>
|
59
|
+
<p><img src='aimages/100px.jpga' /></p>
|
60
|
+
<p><img src='1images/100px.jpg1' /></p>
|
61
|
+
<p><img src='.images/100px.jpg.' /></p>
|
62
|
+
<p><img src='-images/100px.jpg-' /></p>
|
63
|
+
<p><img src='_images/100px.jpg_' /></p>
|
64
|
+
<p><img src="images/100px.jpg" /></p>
|
65
|
+
<p><img src="/images/100px.jpg" /></p>
|
66
|
+
<p><img src="../images/100px.jpg" /></p>
|
67
|
+
<p><img src="../../images/100px.jpg" /></p>
|
68
|
+
<p><img src="../../../images/100px.jpg" /></p>
|
69
|
+
<p><img src="http://example.com/images/100px.jpg" /></p>
|
70
|
+
<p><img src="aimages/100px.jpga" /></p>
|
71
|
+
<p><img src="1images/100px.jpg1" /></p>
|
72
|
+
<p><img src=".images/100px.jpg." /></p>
|
73
|
+
<p><img src="-images/100px.jpg-" /></p>
|
74
|
+
<p><img src="_images/100px.jpg_" /></p>
|
75
|
+
<p>background-image:url(images/100px.jpg);</p>
|
76
|
+
<p>background-image:url(/images/100px.jpg);</p>
|
77
|
+
<p>background-image:url(../images/100px.jpg);</p>
|
78
|
+
<p>background-image:url(../../images/100px.jpg);</p>
|
79
|
+
<p>background-image:url(../../../images/100px.jpg);</p>
|
80
|
+
<p>background-image:url(http://example.com/images/100px.jpg);</p>
|
81
|
+
<p>background-image:url(aimages/100px.jpga);</p>
|
82
|
+
<p>background-image:url(1images/100px.jpg1);</p>
|
83
|
+
<p>background-image:url(.images/100px.jpg.);</p>
|
84
|
+
<p>background-image:url(-images/100px.jpg-);</p>
|
85
|
+
<p>background-image:url(_images/100px.jpg_);</p>
|
86
|
+
<p>background-image:url('images/100px.jpg');</p>
|
87
|
+
<p>background-image:url('/images/100px.jpg');</p>
|
88
|
+
<p>background-image:url('../images/100px.jpg');</p>
|
89
|
+
<p>background-image:url('../../images/100px.jpg');</p>
|
90
|
+
<p>background-image:url('../../../images/100px.jpg');</p>
|
91
|
+
<p>background-image:url('http://example.com/images/100px.jpg');</p>
|
92
|
+
<p>background-image:url('aimages/100px.jpga');</p>
|
93
|
+
<p>background-image:url('1images/100px.jpg1');</p>
|
94
|
+
<p>background-image:url('.images/100px.jpg.');</p>
|
95
|
+
<p>background-image:url('-images/100px.jpg-');</p>
|
96
|
+
<p>background-image:url('_images/100px.jpg_');</p>
|
97
|
+
<p>background-image:url("images/100px.jpg");</p>
|
98
|
+
<p>background-image:url("/images/100px.jpg");</p>
|
99
|
+
<p>background-image:url("../images/100px.jpg");</p>
|
100
|
+
<p>background-image:url("../../images/100px.jpg");</p>
|
101
|
+
<p>background-image:url("../../../images/100px.jpg");</p>
|
102
|
+
<p>background-image:url("http://example.com/images/100px.jpg");</p>
|
103
|
+
<p>background-image:url("aimages/100px.jpga");</p>
|
104
|
+
<p>background-image:url("1images/100px.jpg1");</p>
|
105
|
+
<p>background-image:url(".images/100px.jpg.");</p>
|
106
|
+
<p>background-image:url("-images/100px.jpg-");</p>
|
107
|
+
<p>background-image:url("_images/100px.jpg_");</p>
|
108
|
+
<br /><br /><br />
|
109
|
+
<p>images/100px.png</p>
|
110
|
+
<p>/images/100px.png</p>
|
111
|
+
<p>../images/100px.png</p>
|
112
|
+
<p>../../images/100px.png</p>
|
113
|
+
<p>../../../images/100px.png</p>
|
114
|
+
<p>http://example.com/images/100px.png</p>
|
115
|
+
<p>aimages/100px.pnga</p>
|
116
|
+
<p>1images/100px.png1</p>
|
117
|
+
<p>.images/100px.png.</p>
|
118
|
+
<p>-images/100px.png-</p>
|
119
|
+
<p>_images/100px.png_</p>
|
120
|
+
<p>'images/100px.png'</p>
|
121
|
+
<p>'/images/100px.png'</p>
|
122
|
+
<p>'../images/100px.png'</p>
|
123
|
+
<p>'../../images/100px.png'</p>
|
124
|
+
<p>'../../../images/100px.png'</p>
|
125
|
+
<p>'http://example.com/images/100px.png'</p>
|
126
|
+
<p>'aimages/100px.pnga'</p>
|
127
|
+
<p>'1images/100px.png1'</p>
|
128
|
+
<p>'.images/100px.png.'</p>
|
129
|
+
<p>'-images/100px.png-'</p>
|
130
|
+
<p>'_images/100px.png_'</p>
|
131
|
+
<p>"images/100px.png"</p>
|
132
|
+
<p>"/images/100px.png"</p>
|
133
|
+
<p>"../images/100px.png"</p>
|
134
|
+
<p>"../../images/100px.png"</p>
|
135
|
+
<p>"../../../images/100px.png"</p>
|
136
|
+
<p>"http://example.com/images/100px.png"</p>
|
137
|
+
<p>"aimages/100px.pnga"</p>
|
138
|
+
<p>"1images/100px.png1"</p>
|
139
|
+
<p>".images/100px.png."</p>
|
140
|
+
<p>"-images/100px.png-"</p>
|
141
|
+
<p>"_images/100px.png_"</p>
|
142
|
+
<p><img src=images/100px.png /></p>
|
143
|
+
<p><img src=/images/100px.png /></p>
|
144
|
+
<p><img src=../images/100px.png /></p>
|
145
|
+
<p><img src=../../images/100px.png /></p>
|
146
|
+
<p><img src=../../../images/100px.png /></p>
|
147
|
+
<p><img src=http://example.com/images/100px.png /></p>
|
148
|
+
<p><img src=aimages/100px.pnga /></p>
|
149
|
+
<p><img src=1images/100px.png1 /></p>
|
150
|
+
<p><img src=.images/100px.png. /></p>
|
151
|
+
<p><img src=-images/100px.png- /></p>
|
152
|
+
<p><img src=_images/100px.png_ /></p>
|
153
|
+
<p><img src='images/100px.png' /></p>
|
154
|
+
<p><img src='/images/100px.png' /></p>
|
155
|
+
<p><img src='../images/100px.png' /></p>
|
156
|
+
<p><img src='../../images/100px.png' /></p>
|
157
|
+
<p><img src='../../../images/100px.png' /></p>
|
158
|
+
<p><img src='http://example.com/images/100px.png' /></p>
|
159
|
+
<p><img src='aimages/100px.pnga' /></p>
|
160
|
+
<p><img src='1images/100px.png1' /></p>
|
161
|
+
<p><img src='.images/100px.png.' /></p>
|
162
|
+
<p><img src='-images/100px.png-' /></p>
|
163
|
+
<p><img src='_images/100px.png_' /></p>
|
164
|
+
<p><img src="images/100px.png" /></p>
|
165
|
+
<p><img src="/images/100px.png" /></p>
|
166
|
+
<p><img src="../images/100px.png" /></p>
|
167
|
+
<p><img src="../../images/100px.png" /></p>
|
168
|
+
<p><img src="../../../images/100px.png" /></p>
|
169
|
+
<p><img src="http://example.com/images/100px.png" /></p>
|
170
|
+
<p><img src="aimages/100px.pnga" /></p>
|
171
|
+
<p><img src="1images/100px.png1" /></p>
|
172
|
+
<p><img src=".images/100px.png." /></p>
|
173
|
+
<p><img src="-images/100px.png-" /></p>
|
174
|
+
<p><img src="_images/100px.png_" /></p>
|
175
|
+
<p>background-image:url(images/100px.png);</p>
|
176
|
+
<p>background-image:url(/images/100px.png);</p>
|
177
|
+
<p>background-image:url(../images/100px.png);</p>
|
178
|
+
<p>background-image:url(../../images/100px.png);</p>
|
179
|
+
<p>background-image:url(../../../images/100px.png);</p>
|
180
|
+
<p>background-image:url(http://example.com/images/100px.png);</p>
|
181
|
+
<p>background-image:url(aimages/100px.pnga);</p>
|
182
|
+
<p>background-image:url(1images/100px.png1);</p>
|
183
|
+
<p>background-image:url(.images/100px.png.);</p>
|
184
|
+
<p>background-image:url(-images/100px.png-);</p>
|
185
|
+
<p>background-image:url(_images/100px.png_);</p>
|
186
|
+
<p>background-image:url('images/100px.png');</p>
|
187
|
+
<p>background-image:url('/images/100px.png');</p>
|
188
|
+
<p>background-image:url('../images/100px.png');</p>
|
189
|
+
<p>background-image:url('../../images/100px.png');</p>
|
190
|
+
<p>background-image:url('../../../images/100px.png');</p>
|
191
|
+
<p>background-image:url('http://example.com/images/100px.png');</p>
|
192
|
+
<p>background-image:url('aimages/100px.pnga');</p>
|
193
|
+
<p>background-image:url('1images/100px.png1');</p>
|
194
|
+
<p>background-image:url('.images/100px.png.');</p>
|
195
|
+
<p>background-image:url('-images/100px.png-');</p>
|
196
|
+
<p>background-image:url('_images/100px.png_');</p>
|
197
|
+
<p>background-image:url("images/100px.png");</p>
|
198
|
+
<p>background-image:url("/images/100px.png");</p>
|
199
|
+
<p>background-image:url("../images/100px.png");</p>
|
200
|
+
<p>background-image:url("../../images/100px.png");</p>
|
201
|
+
<p>background-image:url("../../../images/100px.png");</p>
|
202
|
+
<p>background-image:url("http://example.com/images/100px.png");</p>
|
203
|
+
<p>background-image:url("aimages/100px.pnga");</p>
|
204
|
+
<p>background-image:url("1images/100px.png1");</p>
|
205
|
+
<p>background-image:url(".images/100px.png.");</p>
|
206
|
+
<p>background-image:url("-images/100px.png-");</p>
|
207
|
+
<p>background-image:url("_images/100px.png_");</p>
|
208
|
+
<br /><br /><br />
|
209
|
+
<p>images/100px.gif</p>
|
210
|
+
<p>/images/100px.gif</p>
|
211
|
+
<p>../images/100px.gif</p>
|
212
|
+
<p>../../images/100px.gif</p>
|
213
|
+
<p>../../../images/100px.gif</p>
|
214
|
+
<p>http://example.com/images/100px.gif</p>
|
215
|
+
<p>aimages/100px.gifa</p>
|
216
|
+
<p>1images/100px.gif1</p>
|
217
|
+
<p>.images/100px.gif.</p>
|
218
|
+
<p>-images/100px.gif-</p>
|
219
|
+
<p>_images/100px.gif_</p>
|
220
|
+
<p>'images/100px.gif'</p>
|
221
|
+
<p>'/images/100px.gif'</p>
|
222
|
+
<p>'../images/100px.gif'</p>
|
223
|
+
<p>'../../images/100px.gif'</p>
|
224
|
+
<p>'../../../images/100px.gif'</p>
|
225
|
+
<p>'http://example.com/images/100px.gif'</p>
|
226
|
+
<p>'aimages/100px.gifa'</p>
|
227
|
+
<p>'1images/100px.gif1'</p>
|
228
|
+
<p>'.images/100px.gif.'</p>
|
229
|
+
<p>'-images/100px.gif-'</p>
|
230
|
+
<p>'_images/100px.gif_'</p>
|
231
|
+
<p>"images/100px.gif"</p>
|
232
|
+
<p>"/images/100px.gif"</p>
|
233
|
+
<p>"../images/100px.gif"</p>
|
234
|
+
<p>"../../images/100px.gif"</p>
|
235
|
+
<p>"../../../images/100px.gif"</p>
|
236
|
+
<p>"http://example.com/images/100px.gif"</p>
|
237
|
+
<p>"aimages/100px.gifa"</p>
|
238
|
+
<p>"1images/100px.gif1"</p>
|
239
|
+
<p>".images/100px.gif."</p>
|
240
|
+
<p>"-images/100px.gif-"</p>
|
241
|
+
<p>"_images/100px.gif_"</p>
|
242
|
+
<p><img src=images/100px.gif /></p>
|
243
|
+
<p><img src=/images/100px.gif /></p>
|
244
|
+
<p><img src=../images/100px.gif /></p>
|
245
|
+
<p><img src=../../images/100px.gif /></p>
|
246
|
+
<p><img src=../../../images/100px.gif /></p>
|
247
|
+
<p><img src=http://example.com/images/100px.gif /></p>
|
248
|
+
<p><img src=aimages/100px.gifa /></p>
|
249
|
+
<p><img src=1images/100px.gif1 /></p>
|
250
|
+
<p><img src=.images/100px.gif. /></p>
|
251
|
+
<p><img src=-images/100px.gif- /></p>
|
252
|
+
<p><img src=_images/100px.gif_ /></p>
|
253
|
+
<p><img src='images/100px.gif' /></p>
|
254
|
+
<p><img src='/images/100px.gif' /></p>
|
255
|
+
<p><img src='../images/100px.gif' /></p>
|
256
|
+
<p><img src='../../images/100px.gif' /></p>
|
257
|
+
<p><img src='../../../images/100px.gif' /></p>
|
258
|
+
<p><img src='http://example.com/images/100px.gif' /></p>
|
259
|
+
<p><img src='aimages/100px.gifa' /></p>
|
260
|
+
<p><img src='1images/100px.gif1' /></p>
|
261
|
+
<p><img src='.images/100px.gif.' /></p>
|
262
|
+
<p><img src='-images/100px.gif-' /></p>
|
263
|
+
<p><img src='_images/100px.gif_' /></p>
|
264
|
+
<p><img src="images/100px.gif" /></p>
|
265
|
+
<p><img src="/images/100px.gif" /></p>
|
266
|
+
<p><img src="../images/100px.gif" /></p>
|
267
|
+
<p><img src="../../images/100px.gif" /></p>
|
268
|
+
<p><img src="../../../images/100px.gif" /></p>
|
269
|
+
<p><img src="http://example.com/images/100px.gif" /></p>
|
270
|
+
<p><img src="aimages/100px.gifa" /></p>
|
271
|
+
<p><img src="1images/100px.gif1" /></p>
|
272
|
+
<p><img src=".images/100px.gif." /></p>
|
273
|
+
<p><img src="-images/100px.gif-" /></p>
|
274
|
+
<p><img src="_images/100px.gif_" /></p>
|
275
|
+
<p>background-image:url(images/100px.gif);</p>
|
276
|
+
<p>background-image:url(/images/100px.gif);</p>
|
277
|
+
<p>background-image:url(../images/100px.gif);</p>
|
278
|
+
<p>background-image:url(../../images/100px.gif);</p>
|
279
|
+
<p>background-image:url(../../../images/100px.gif);</p>
|
280
|
+
<p>background-image:url(http://example.com/images/100px.gif);</p>
|
281
|
+
<p>background-image:url(aimages/100px.gifa);</p>
|
282
|
+
<p>background-image:url(1images/100px.gif1);</p>
|
283
|
+
<p>background-image:url(.images/100px.gif.);</p>
|
284
|
+
<p>background-image:url(-images/100px.gif-);</p>
|
285
|
+
<p>background-image:url(_images/100px.gif_);</p>
|
286
|
+
<p>background-image:url('images/100px.gif');</p>
|
287
|
+
<p>background-image:url('/images/100px.gif');</p>
|
288
|
+
<p>background-image:url('../images/100px.gif');</p>
|
289
|
+
<p>background-image:url('../../images/100px.gif');</p>
|
290
|
+
<p>background-image:url('../../../images/100px.gif');</p>
|
291
|
+
<p>background-image:url('http://example.com/images/100px.gif');</p>
|
292
|
+
<p>background-image:url('aimages/100px.gifa');</p>
|
293
|
+
<p>background-image:url('1images/100px.gif1');</p>
|
294
|
+
<p>background-image:url('.images/100px.gif.');</p>
|
295
|
+
<p>background-image:url('-images/100px.gif-');</p>
|
296
|
+
<p>background-image:url('_images/100px.gif_');</p>
|
297
|
+
<p>background-image:url("images/100px.gif");</p>
|
298
|
+
<p>background-image:url("/images/100px.gif");</p>
|
299
|
+
<p>background-image:url("../images/100px.gif");</p>
|
300
|
+
<p>background-image:url("../../images/100px.gif");</p>
|
301
|
+
<p>background-image:url("../../../images/100px.gif");</p>
|
302
|
+
<p>background-image:url("http://example.com/images/100px.gif");</p>
|
303
|
+
<p>background-image:url("aimages/100px.gifa");</p>
|
304
|
+
<p>background-image:url("1images/100px.gif1");</p>
|
305
|
+
<p>background-image:url(".images/100px.gif.");</p>
|
306
|
+
<p>background-image:url("-images/100px.gif-");</p>
|
307
|
+
<p>background-image:url("_images/100px.gif_");</p>
|
308
|
+
<br /><br /><br />
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
|
6
|
+
<%= stylesheet_link_tag "site" %>
|
7
|
+
<%= yield_content :head %>
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body class="<%= page_classes %>">
|
11
|
+
|
12
|
+
<div id="main" role="main">
|
13
|
+
<%= yield %>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</body>
|
17
|
+
</html>
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
Hola Mundo
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= yield %>
|