[−][src]Struct css_inline::CSSInliner
Customizable CSS inliner.
Implementations
impl CSSInliner[src]
pub fn new(options: InlineOptions) -> Self[src]
Create a new CSSInliner instance with given options.
pub fn compact() -> Self[src]
Inliner, that will produce "compact" HTML. For example, "style" tags will be removed.
pub fn inline(&self, html: &str) -> Result<String, InlineError>[src]
Inline CSS styles from