Skip to content

Instantly share code, notes, and snippets.

@gbelote
Created November 11, 2010 23:34
Show Gist options
  • Save gbelote/673445 to your computer and use it in GitHub Desktop.
Save gbelote/673445 to your computer and use it in GitHub Desktop.
diff --git a/app/views/site/index.html.haml b/app/views/site/index.html.haml
index 909646a..1028595 100644
--- a/app/views/site/index.html.haml
+++ b/app/views/site/index.html.haml
@@ -44,7 +44,7 @@
:javascript
var addthis_config = {
- ui_email_note: 'I thought you'd be interested in checking out www.Appswell.com. It's a place to view and share iPhone app ideas, and submit your own idea for a chance to see it made.'
+ ui_email_note: 'I thought you\'d be interested in checking out www.Appswell.com. It\'s a place to view and share iPhone app ideas, and submit your own idea for a chance to see it made.'
}
var addthis_share = {
templates: {
@gbelote
Copy link
Author

gbelote commented Nov 11, 2010

Escape the quotes to prevent a JavaScript syntax error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment