Skip to main content

Module css_inliner

Module css_inliner 

Source
Expand description

CSS inlining for email-safe rendering.

Since Gmail and many email clients strip <style> blocks from <head>, all CSS must be inlined as style="" attributes on each element. The Ferrum Style system already produces inline CSS via Style::to_css(), so this module handles merging and normalization.

Functions§

inline_styles
Walk a Node tree and ensure all styles are properly inlined.