Skip to content

Commit

Permalink
Merge pull request #382 from fwolfst/patch-1
Browse files Browse the repository at this point in the history
Improve doc strings on Premailer options
  • Loading branch information
meowsus committed Oct 1, 2019
2 parents b94c331 + e0b9ba4 commit 2ef4cdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/premailer/premailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ module Warnings
#
# @param [Hash] options the options to handle html with.
# @option options [Fixnum] :line_length Line length used by to_plain_text. Default is 65.
# @option options [Fixnum] :warn_level What level of CSS compatibility warnings to show (see {Premailer::Warnings}).
# @option options [Fixnum] :warn_level What level of CSS compatibility warnings to show (see {Premailer::Warnings}, default is Warnings::SAFE).
# @option options [String] :link_query_string A string to append to every <tt>a href=""</tt> link. Do not include the initial <tt>?</tt>.
# @option options [String] :base_url Used to calculate absolute URLs for local files.
# @option options [Array(String)] :css Manually specify CSS stylesheets.
# @option options [Boolean] :css_to_attributes Copy related CSS attributes into HTML attributes (e.g. background-color to bgcolor)
# @option options [Boolean] :css_to_attributes Copy related CSS attributes into HTML attributes (e.g. background-color to bgcolor). Default is true.
# @option options [Boolean] :preserve_style_attribute Preserve original style attribute
# @option options [String] :css_string Pass CSS as a string
# @option options [Boolean] :rgb_to_hex_attributes Convert RBG to Hex colors, default false
# @option options [Boolean] :rgb_to_hex_attributes Convert RBG to Hex colors. Default is false.
# @option options [Boolean] :remove_ids Remove ID attributes whenever possible and convert IDs used as anchors to hashed to avoid collisions in webmail programs. Default is false.
# @option options [Boolean] :remove_classes Remove class attributes. Default is false.
# @option options [Boolean] :remove_comments Remove html comments. Default is false.
Expand Down

0 comments on commit 2ef4cdb

Please sign in to comment.