premailer
premailer copied to clipboard
Creating <doctype> and other tags when it is not been given at the source file.
My input HTML is like
<div class="a">
<div class="b">abc</div>
</div>
But it generates the following:
<!DOCTYPE html ...>
<head></head>
<body>
<div class="a" style="a:b">
Is there a way to suppress the doctype and other tag which are not given in the source file?
This is important to us as well. We do not want the wrapping html/body tags to be generated.
I have modified premailer to solve this problem with this PR: https://github.com/premailer/premailer/pull/348