Last active
August 29, 2015 14:13
-
-
Save chrislerum/abb2dc7e708838ce0846 to your computer and use it in GitHub Desktop.
snippet of slim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code: (slim in view) | |
.page-header | |
h1 One | |
small Two | |
expected: | |
<div class="page-header"> | |
<h1> | |
One | |
<small> | |
Two | |
</small> | |
</h1> | |
</div> | |
actual: | |
<div class="page-header"> | |
<h1> | |
One | |
small Two | |
</h1> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solution: | |
.page-header | |
h1 | |
| One | |
small | |
| Two |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment