debian-mirror-gitlab/config/initializers/premailer.rb

13 lines
317 B
Ruby
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
2016-06-02 11:05:42 +05:30
# See https://github.com/fphilipe/premailer-rails#configuration
Premailer::Rails.config.merge!(
generate_text_part: false,
preserve_styles: true,
remove_comments: true,
remove_ids: false,
2019-07-07 11:18:12 +05:30
remove_scripts: false,
2021-07-08 21:50:14 +05:30
output_encoding: 'US-ASCII',
strategies: [:asset_pipeline]
2016-06-02 11:05:42 +05:30
)