diff --git a/html.d b/html.d index 8bf8130..d578817 100644 --- a/html.d +++ b/html.d @@ -15,6 +15,188 @@ import std.variant; import core.vararg; import std.exception; + +/// This is a list of features you can allow when using the sanitizedHtml function. +enum HtmlFeatures : uint { + images = 1, /// The tag + links = 2, /// tags + css = 4, /// Inline CSS + cssLinkedResources = 8, // FIXME: implement this + video = 16, /// The html5