Function css_inline::inline[][src]

pub fn inline(html: &str) -> Result<String, InlineError>
Expand description

Shortcut for inlining CSS with default parameters.

Errors

Inlining might fail for the following reasons:

  • Missing stylesheet file;
  • Remote stylesheet is not available;
  • IO errors;
  • Internal CSS selector parsing error;