mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00

With some Gemfiles, Sass turns the hex color into a named color. With others, it doesn't. Why? I have no idea. But I'm testing Haml here, not Sass so I don't really care - just make the expectation enough to demonstrate that Sass was actually invoked.
69 lines
1 KiB
HTML
69 lines
1 KiB
HTML
<style>
|
|
/* line 1 */
|
|
p { border-style: dotted; border-width: 22px; border-color: fuchsia; }
|
|
|
|
/* line 6 */
|
|
h1 { font-weight: normal; }
|
|
</style>
|
|
<style>
|
|
/* line 1 */
|
|
p { border-style: dotted; border-width: 22px; }
|
|
|
|
/* line 7 */
|
|
h1 { font-weight: normal; }
|
|
</style>
|
|
TESTING HAHAHAHA!
|
|
<p>
|
|
<script type='text/javascript'>
|
|
//<![CDATA[
|
|
function newline(str) {
|
|
return "\n" + str;
|
|
}
|
|
//]]>
|
|
</script>
|
|
</p>
|
|
This
|
|
Is
|
|
Plain
|
|
Text
|
|
%strong right?
|
|
#{not interpolated}
|
|
\3
|
|
\#{also not}
|
|
\\
|
|
<p>
|
|
<pre>This pre is pretty deeply
 nested.
 Does interpolation work?
|
|
This one is, too.
Nested, that is.
</pre>
|
|
</p>
|
|
<ul>
|
|
|
|
<li>a</li>
|
|
|
|
<li>b</li>
|
|
|
|
<li>c</li>
|
|
|
|
<li>d</li>
|
|
|
|
<li>e</li>
|
|
|
|
<li>f</li>
|
|
|
|
<li>g</li>
|
|
|
|
<li>h</li>
|
|
|
|
<li>i</li>
|
|
|
|
<li>j</li>
|
|
|
|
|
|
|
|
</ul>
|
|
<div class='res'>178</div>
|
|
Text!
|
|
Hello, World!
|
|
How are you doing today?
|
|
<div class="foo">
|
|
<p>I think &mdash; or do I?</p>
|
|
</div>
|