| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- namespace Ganss.Xss;
- /// <summary>
- /// List of reasons why something was identified to get removed from the HTML.
- /// </summary>
- public enum RemoveReason
- {
- /// <summary>
- /// Tag is not allowed.
- /// </summary>
- NotAllowedTag,
- /// <summary>
- /// Attribute is not allowed.
- /// </summary>
- NotAllowedAttribute,
- /// <summary>
- /// Style is not allowed.
- /// </summary>
- NotAllowedStyle,
- /// <summary>
- /// Value is a non-allowed or harmful URL.
- /// </summary>
- NotAllowedUrlValue,
- /// <summary>
- /// Value is not allowed or harmful.
- /// </summary>
- NotAllowedValue,
- /// <summary>
- /// CSS class is not allowed.
- /// </summary>
- NotAllowedCssClass,
- /// <summary>
- /// The class attribute is empty.
- /// </summary>
- ClassAttributeEmpty,
- /// <summary>
- /// The style attribute is empty.
- /// </summary>
- StyleAttributeEmpty,
- }
|