/** * sets body after mashing in inline styles * this is the method for doing tagging, simple now! * @return string inlined stuffs */ public function getInlinedHtml($body) { $inliner = new \TijsVerkoyen\CssToInlineStyles\CssToInlineStyles(); $inliner->setHtml($body); $inliner->setUseInlineStylesBlock(); return $inliner->convert(); }