diff --git a/spec/components/pretty_text_spec.rb b/spec/components/pretty_text_spec.rb index bbbcb5d69..772b3417f 100644 --- a/spec/components/pretty_text_spec.rb +++ b/spec/components/pretty_text_spec.rb @@ -343,7 +343,7 @@ describe PrettyText do it 'allows table html' do SiteSetting.allow_html_tables = true PrettyText.reset_context - table = "\n
test
a
" + table = "\n
test
a
" match = "
test
a
" expect(PrettyText.cook(table)).to match_html(match)