From e6736ae2e66415cda4f1c0914f6ecce16be7f856 Mon Sep 17 00:00:00 2001 From: Philipe Fatio Date: Sun, 12 Jun 2016 13:10:44 +0200 Subject: [PATCH] Explain how to ignore link tags --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 6e0dfb4..e59b229 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,11 @@ If you're using this gem outside of Rails, you'll need to call is done ideally in some kind of initializer, depending on the framework you're using. +premailer-rails reads all stylesheet `` tags, inlines the linked CSS +and removes the tags. If you wish to ignore a certain tag, e.g. one that links to +external fonts such as Google Fonts, you can add a `data-premailer="ignore"` +attribute. + ## Usage premailer-rails processes all outgoing emails by default. If you wish to skip