From fffa9efb95eca13c3e6a5feb79201461a6f2b858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 18 Jun 2024 11:53:20 +0200 Subject: [PATCH] FIX: BBCode parsing specs (#63) Requires https://github.com/discourse/discourse/pull/27173 to be merged. Will add a .discourse-compatibility once merged. --- spec/pretty_text_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/pretty_text_spec.rb b/spec/pretty_text_spec.rb index ea4d1fb..1095ef3 100644 --- a/spec/pretty_text_spec.rb +++ b/spec/pretty_text_spec.rb @@ -33,7 +33,7 @@ end it "can apply font bbcode with space" do - cooked = PrettyText.cook "hello [font=Times New Roman]Times New Roman[/font] text" + cooked = PrettyText.cook "hello [font='Times New Roman']Times New Roman[/font] text" html = '

hello Times New Roman text

' expect(cooked).to eq(html)