jonkemp / gulp-inline-css

Inline linked css in an html file. Useful for emails.
MIT License
272 stars 29 forks source link

Option to don't inline certain parts of the document? #44

Open derralf opened 7 years ago

derralf commented 7 years ago

Hi everyone,

is there an option to prevent inlining on parts or areas of the document? e.g.:

<table class="my-table-apply-inline-styles-here">
  <tr>
    <td class="my-td-apply-inline-styles-here-too">
        <!-- don't inline this -->
        <h1>Some Headline</h1>
        <p>Some Text<br>and some more Text</p>
        <p>...</p>
        <!-- from here on do inlining again -->
    </td>
  </tr>
</table>

thanks, Ralf

Steadyx commented 7 years ago

@derralf Not that I know of!