diff --git a/app/models/theme.rb b/app/models/theme.rb index 5a8b66fa3d4..f4b66c16852 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -6,7 +6,7 @@ require "json_schemer" class Theme < ActiveRecord::Base include GlobalPath - BASE_COMPILER_VERSION = 80 + BASE_COMPILER_VERSION = 81 class SettingsMigrationError < StandardError end @@ -471,7 +471,6 @@ class Theme < ActiveRecord::Base .compact caches.map { |c| <<~HTML.html_safe }.join("\n") - HTML end diff --git a/app/models/theme_field.rb b/app/models/theme_field.rb index 38dc09d28f6..5387c9a79da 100644 --- a/app/models/theme_field.rb +++ b/app/models/theme_field.rb @@ -191,7 +191,6 @@ class ThemeField < ActiveRecord::Base javascript_cache.save! doc.add_child(<<~HTML.html_safe) if javascript_cache.content.present? - HTML [doc.to_s, errors&.join("\n")] @@ -300,7 +299,6 @@ class ThemeField < ActiveRecord::Base javascript_cache.save! doc = "" doc = <<~HTML.html_safe if javascript_cache.content.present? - HTML [doc, errors&.join("\n")]