Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
clairezed committed Feb 22, 2024
1 parent d4570a3 commit 9be8f4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions lib/mjml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ module Mjml
}
self.validation_level = 'strict'
self.use_mrml = false
self.fonts = {
'Open Sans': 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700',
'Droid Sans': 'https://fonts.googleapis.com/css?family=Droid+Sans:300,400,500,700',
Lato: 'https://fonts.googleapis.com/css?family=Lato:300,400,500,700',
Roboto: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
Ubuntu: 'https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700'
}.to_json

def self.check_version(bin)
stdout, _, status = run_mjml('--version', mjml_bin: bin)
Expand Down
2 changes: 0 additions & 2 deletions lib/mjml/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ def run(in_tmp_file, beautify = true, minify = false, validation_level = 'strict
out_tmp_file.read
end
end
# rubocop:enable Metrics/ParameterLists
# rubocop:enable Metrics/MethodLength
# rubocop:enable Style/OptionalBooleanParameter
end
end

0 comments on commit 9be8f4e

Please sign in to comment.