Skip to content

Instantly share code, notes, and snippets.

@kagemusha
Created March 22, 2012 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kagemusha/2156971 to your computer and use it in GitHub Desktop.
Save kagemusha/2156971 to your computer and use it in GitHub Desktop.
Malformed attribute block
This seems to come from haml.js
Not sure the quintessential case, but I had problems when calling JSON.stringify with a string with an apostrophe in in. Apparentely JSON.stringify can't handle apostrophes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment