You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2021. It is now read-only.
My HTML gets completely replaced w/ only this DOCTYPE declaration when using 0.2.9 and 0.2.10.
I could not test 0.2.8 as npm threw errors. 0.2.7 works for me and is what I've reverted to.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
@dwightjack
@KrisOlszewski Is right, i had to make a workaround on my workflow, the dest now is on the root of my project, then i delete my dist html files and copy the html from the root to my dist folder and delete them after. 2 more steps to get the work done.
i think figured out the problem: since premailer was giving random error when destination file didn't existed, i was creating it before running premailer.
In a src === dest scenario this ended up parsing an empty file. :S
I just released 0.2.12 which should fix the issue. Tested with Ruby 1.9.3 + hpricot and Ruby 2.0.x with nokogiri.
My HTML gets completely replaced w/ only this
DOCTYPE
declaration when using0.2.9
and0.2.10
.I could not test
0.2.8
as npm threw errors.0.2.7
works for me and is what I've reverted to.premailer.coffee
:A piece of
location-vars.coffee
where thefiles
reference is found:The text was updated successfully, but these errors were encountered: