Created
November 16, 2011 23:22
-
-
Save matthooks/1371845 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
html = """ | |
This is a string in which you can insert #{stuff} and have many double quotes """""" without having to do \" to escape them | |
""" | |
html = """ | |
<iframe id="#{id}_form" style="display:#{(!visible && 'none') || 'auto'}; width:400px; height:50px; border:0; overflow:hidden;" border="0" frameborder="0" scrolling="no" src="/attachments/new?target=#{id}&name=#{escape $attachment.val()}"></iframe> | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment