Skip to content

Commit

Permalink
FIX: BBCode parsing specs
Browse files Browse the repository at this point in the history
Requires discourse/discourse#27173 to be merged.

Will add a .discourse-compatibility once merged.
  • Loading branch information
ZogStriP committed May 24, 2024
1 parent cd3e5f8 commit d3ae822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/pretty_text_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '<p>hello <span style="font-family:\'Times New Roman\'">Times New Roman</span> text</p>'

expect(cooked).to eq(html)
Expand Down

0 comments on commit d3ae822

Please sign in to comment.