Skip to content

Commit

Permalink
MAGETWO-64085: Static versioning and styles minification break email …
Browse files Browse the repository at this point in the history
…fonts styles #8241

- fix unit test
  • Loading branch information
cpartica committed Aug 29, 2017
1 parent 10e896d commit d4e302a
Showing 1 changed file with 4 additions and 7 deletions.
Expand Up @@ -8,7 +8,7 @@
use Pelago\Emogrifier;

/**
* Adapter for Emogrifier 3rd party library
* This class will inline the css of an html to each tag to be used for applications such as a styled email.
*/
class CssInliner
{
Expand All @@ -23,8 +23,7 @@ public function __construct()
}

/**
* Sets the HTML to be used with the css.
* This method should be used with setCss.
* Sets the HTML to be used with the css. This method should be used with setCss.
*
* @param string $html
* @return void
Expand All @@ -35,8 +34,7 @@ public function setHtml($html)
}

/**
* Sets the CSS to be merged with the HTML.
* This method should be used with setHtml.
* Sets the CSS to be merged with the HTML. This method should be used with setHtml.
*
* @param string $css
* @return void
Expand All @@ -63,8 +61,7 @@ public function disableStyleBlocksParsing()
}

/**
* Processes the html by placing the css inline.
* You must set first the css by using setCss and html by using setHtml.
* Processes the html by placing the css inline. Set first the css by using setCss and html by using setHtml.
*
* @return string
* @throws \BadMethodCallException
Expand Down

0 comments on commit d4e302a

Please sign in to comment.