/** This module includes functions to work with HTML and CSS in a more specialized manner than [arsd.dom]. Most of this is obsolete from my really old D web stuff, but there's still some useful stuff. View source before you decide to use it, as the implementations may suck more than you want to use. It publically imports the DOM module to get started. Then it adds a number of functions to enhance html DOM documents and make other changes, like scripts and stylesheets. */ module arsd.html; import arsd.core : encodeUriComponent; public import arsd.dom; import arsd.color; import std.array; import std.string; 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