(cherry picked from commit 0b4dca82d839952ac8277432e5cfbd1384eb046f) 0b4dca82 Fixes: #5234 - Zammads HTML wrapper should not set a semikolon Co-authored-by: Martin Gruner <mg@zammad.com>
@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<style type="text/css">
body {
- ###html_email_css_font###;
+ ###html_email_css_font###
}
img {
outline: none;
@@ -520,7 +520,7 @@ RSpec.describe Channel::EmailBuild, type: :model do
before { Setting.set('html_email_css_font', css_font) }
it 'includes the configured css font' do
- expect(generated_html).to match css_font
+ expect(generated_html).to include("#{css_font}\n")
end