- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
Closed
Description
I want to strip <style> tags: $converter->setStripOriginalStyleTags(true);
How about an optional constructor injection to give a possibility to use custom options?
/**
 * @param CssToInlineStyles $converter
 */
public function __construct(CssToInlineStyles $converter = null)
{
    if ($converter) {
        $this->converter = $converter;
    } else {
        $this->converter = new CssToInlineStyles();
        $this->converter->setUseInlineStylesBlock(TRUE);
    }
}
Metadata
Metadata
Assignees
Labels
No labels