-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
192 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
#page{:style => 'font-family: "Lucida Grande", "Verdana"; text-align: center'} | ||
#page{:style => "font-family: \"Lucida Grande\", \"Verdana\"; text-align: center"} | ||
#page{:style => "font-family: 'Lucida Grande', 'Verdana'; text-align: center"} | ||
#page{:style => 'font-family: \'Lucida Grande\', \'Verdana\'; text-align: center'} | ||
|
||
%a{ href: '#', title: "This shouldn't be a double quote" } Works now | ||
%a{ href: '#', title: 'Say "hi"' } To me | ||
|
||
- name = 'Michael' | ||
%div{ hi: name } | ||
%div{ hi: "Hi #{ name }!" } | ||
|
||
%div{ hi: "Hi #{ name }'!'" } | ||
%div{ hi: "Hi #{ name }\"!\"" } | ||
|
||
%div{ hi: "Hi #{ name } and #{ "'#{ name }'" }!" } | ||
|
||
- theclass = 'test' | ||
.clazz{ class: theclass } | ||
.clazz{ class: 'hi' + theclass } | ||
.clazz{ class: "hi#{ theclass }" } |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
<div id='page' style='font-family: "Lucida Grande", "Verdana"; text-align: center'></div> | ||
<div id='page' style='font-family: "Lucida Grande", "Verdana"; text-align: center'></div> | ||
<div id='page' style='font-family: "Lucida Grande", "Verdana"; text-align: center'></div> | ||
<div id='page' style="font-family: 'Lucida Grande', 'Verdana'; text-align: center"></div> | ||
<div id='page' style="font-family: 'Lucida Grande', 'Verdana'; text-align: center"></div> | ||
<a href='#' title="This shouldn't be a double quote">Works now</a> | ||
<a href='#' title='Say "hi"'>To me</a> | ||
<div hi='Michael'></div> | ||
<div hi='Hi Michael!'></div> | ||
<div hi="Hi Michael'!'"></div> | ||
<div hi='Hi Michael"!"'></div> | ||
<div hi='Hi Michael and 'Michael'!'></div> | ||
<div class='clazz test'></div> | ||
<div class='clazz hitest'></div> | ||
<div class='clazz hitest'></div> |
This file contains 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
This file contains 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