Skip to content

Instantly share code, notes, and snippets.

@michael
Created September 24, 2011 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save michael/1239217 to your computer and use it in GitHub Desktop.
Save michael/1239217 to your computer and use it in GitHub Desktop.
sanitizeConfig.json
{
"a":{
href: function(href) {
return href.indexOf("javascript:") !== 0;
}
},
"strong": {},
"em": {},
"code": {},
"ul": {},
"li": {},
"ol": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment