Created
July 22, 2011 16:50
-
-
Save sentientwaffle/1099841 to your computer and use it in GitHub Desktop.
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 renders perfectly. | |
= bubbl | |
-# This doesnt render... why? | |
= bubble |
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
module MyHelper | |
# This renders. | |
def bubbl | |
%(<div class="bubbl">Hi</div>).html_safe | |
end | |
# This does not render. | |
def bubble | |
%(<div class="bubble">Hi</div>).html_safe | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment