emogrifier icon indicating copy to clipboard operation
emogrifier copied to clipboard

Converts CSS styles into inline style attributes in your HTML code.

Results 95 emogrifier issues
Sort by recently updated
recently updated
newest added

@zoliszabo, @JakeQZ, I propose we deprecated this option and instead add a method `removeAllStyleAttributes` or `removeInlineStyles` to the `HtmlPruner` class (which then can be used before `CssInliner` gets used). What...

cleanup
discussion

Emogrifier may produce inline styles that are redundant. For example: ```html p {margin: 10px 0} p.c {margin-left: 5px; margin-right: 5px} ``` After the above is emogrified, it would look like...

enhancement

We should have automated tests that Emogrifier understands the CSS selectors in popular CSS frameworks. According to https://hackernoon.com/top-5-most-popular-css-frameworks-that-you-should-pay-attention-to-in-2017-344a8b67fba1, https://three29.com/best-css-frameworks-2017/ and https://www.sitepoint.com/5-most-popular-frontend-frameworks-compared/, these are: - Twitter Bootstrap (3x) - Zurb Foundation...

enhancement

Outlook doesn't properly support the "margin" tag in css, however there is a workaround and that is to use "Margin" (note the capital M). This also affects "margin-top", "margin-left" etc....

bug

https://github.com/phpstan/phpstan https://blog.martinhujer.cz/how-to-configure-phpstan-for-symfony-applications/

enhancement

Arising from #831 is the handling of Boolean vs non-Boolean attributes by the Emogrifier package when parsing and serializing HTML, with respect to the empty attribute syntax. The empty attribute...

discussion

I've a found a problem in the last version. Actually I'm passing a text for an email and a CSS file to it so that it get's inlined. The problem...

bug

https://github.com/tijsverkoyen/CssToInlineStyles has a list of sites using their library in their README. Should we have a list like that as well? (I'd like that.) Which sites should/can we add?

documentation
discussion

My table like that : `` are converted to : `` I use this to set the css and html : ```php $emogrifier = new \Pelago\Emogrifier(); $emogrifier->setHtml($html); $emogrifier->setCss($css); $emogrifier->enableCssToHtmlMapping(); $emogrifier->disableStyleBlocksParsing();...

bug
waiting for feedback