using System.Collections.Generic; namespace NexusReader.Infrastructure.Configuration; /// /// Settings for configuring allowed tags, attributes, CSS properties, and schemes in HtmlSanitizerService. /// public class HtmlSanitizerSettings { public const string SectionName = "HtmlSanitizer"; /// /// Gets or sets the list of HTML tags that are allowed. /// If null or empty, the default allowed tags list is used. /// public List? AllowedTags { get; set; } /// /// Gets or sets the list of HTML attributes that are allowed. /// If null or empty, the default allowed attributes list is used. /// public List? AllowedAttributes { get; set; } /// /// Gets or sets the list of CSS properties that are allowed. /// If null or empty, the default allowed CSS properties list is used. /// public List? AllowedCssProperties { get; set; } /// /// Gets or sets the list of URI schemes that are allowed (e.g. "http", "https"). /// If null or empty, the default allowed schemes list is used. /// public List? AllowedSchemes { get; set; } }