mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
Fix the build.
This commit is contained in:
parent
ab1b3472bd
commit
1b986f2266
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ require 'pretty_text'
|
||||||
describe PrettyText do
|
describe PrettyText do
|
||||||
|
|
||||||
it "supports details tag" do
|
it "supports details tag" do
|
||||||
cooked_html = "<details><summary>foo</summary>\n\n<p>bar</p>\n\n<p></p></details>"
|
cooked_html = "<details><summary>foo</summary>\n\n<p>bar</p>\n\n</details>"
|
||||||
expect(PrettyText.cook("<details><summary>foo</summary>bar</details>")).to match_html(cooked_html)
|
expect(PrettyText.cook("<details><summary>foo</summary>bar</details>")).to match_html(cooked_html)
|
||||||
expect(PrettyText.cook("[details=foo]bar[/details]")).to match_html(cooked_html)
|
expect(PrettyText.cook("[details=foo]bar[/details]")).to match_html(cooked_html)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue