Skip to content

Commit d4e302a

Browse files
committed
MAGETWO-64085: Static versioning and styles minification break email fonts styles #8241
- fix unit test
1 parent 10e896d commit d4e302a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

lib/internal/Magento/Framework/Css/PreProcessor/Adapter/CssInliner.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Pelago\Emogrifier;
99

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

2525
/**
26-
* Sets the HTML to be used with the css.
27-
* This method should be used with setCss.
26+
* Sets the HTML to be used with the css. This method should be used with setCss.
2827
*
2928
* @param string $html
3029
* @return void
@@ -35,8 +34,7 @@ public function setHtml($html)
3534
}
3635

3736
/**
38-
* Sets the CSS to be merged with the HTML.
39-
* This method should be used with setHtml.
37+
* Sets the CSS to be merged with the HTML. This method should be used with setHtml.
4038
*
4139
* @param string $css
4240
* @return void
@@ -63,8 +61,7 @@ public function disableStyleBlocksParsing()
6361
}
6462

6563
/**
66-
* Processes the html by placing the css inline.
67-
* You must set first the css by using setCss and html by using setHtml.
64+
* Processes the html by placing the css inline. Set first the css by using setCss and html by using setHtml.
6865
*
6966
* @return string
7067
* @throws \BadMethodCallException

0 commit comments

Comments
 (0)