Skip to content

Commit

Permalink
Skip processing if already done
Browse files Browse the repository at this point in the history
  • Loading branch information
vanng822 authored Dec 28, 2018
1 parent e3d3694 commit f0a5600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions premailer/premailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ func (pr *premailer) Transform() (string, error) {
pr.collectElements()
pr.applyInline()
pr.addLeftover()
pr.processed = true
}
return pr.doc.Html()
}

0 comments on commit f0a5600

Please sign in to comment.