mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: remove unneeded escape when building a Quote
This commit is contained in:
@ -717,10 +717,6 @@ QUnit.test("quotes", assert => {
|
||||
"[quote=\"eviltrout, post:1, topic:2, full:true\"]\n**lorem** ipsum\n[/quote]\n\n",
|
||||
"keeps BBCode formatting");
|
||||
|
||||
formatQuote("this is <not> a bug",
|
||||
"[quote=\"eviltrout, post:1, topic:2\"]\nthis is <not> a bug\n[/quote]\n\n",
|
||||
"it escapes the contents of the quote");
|
||||
|
||||
assert.cooked("[quote]\ntest\n[/quote]",
|
||||
"<aside class=\"quote no-group\">\n<blockquote>\n<p>test</p>\n</blockquote>\n</aside>",
|
||||
"it supports quotes without params");
|
||||
|
Reference in New Issue
Block a user