Skip to content

Instantly share code, notes, and snippets.

@claushellsing
Created June 7, 2012 17:42
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 claushellsing/2890275 to your computer and use it in GitHub Desktop.
Save claushellsing/2890275 to your computer and use it in GitHub Desktop.
This is how i mean to store the white list
public Dictionary<String, String[]> WhiteListTagStyle = new Dictionary<string, String[]>()
{
{"p",new String[]{""}},
{"a",new String[]{"href"}},
{"img",new String[]{"src","alt","width","height"}}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment