Skip to content

Instantly share code, notes, and snippets.

@matthooks
Created November 16, 2011 23:22
Show Gist options
  • Save matthooks/1371845 to your computer and use it in GitHub Desktop.
Save matthooks/1371845 to your computer and use it in GitHub Desktop.
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