Closed Eliot00 closed 4 months ago
I think it comes from the html5ever
parser that adds html
, head
& body
elements to the tree if they are missing, then they get serialized later on. What we can do on the css-inline
side is to provide a way to configure the serialization step, so it can skip tags in a more flexible manner, or just give a config option for skipping html
/ head
/ body
That would be great! I’m inlining individual components, rather than the entire email all at once
This feature will be released in 0.14
via the inline_fragment
function (bindings have the same name for this function in their public API)
my code:
current output:
expect output: