Skip to content

Instantly share code, notes, and snippets.

@martinrayenglish
Created October 31, 2020 13:46
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 martinrayenglish/437c772bc5acce85a34c34154c0a4fca to your computer and use it in GitHub Desktop.
Save martinrayenglish/437c772bc5acce85a34c34154c0a4fca to your computer and use it in GitHub Desktop.
public struct Constants
{
public struct NonEditingHtml
{
public const string DataExpOffAttribute = "data-xp-off";
public const string ExceptionMessage = "Non editing attributes removal process did not run because an error occurred during the request execution";
public static readonly string[] TargetElements = { "script", "style", "noscript" };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment