mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: auto-quote should not trigger when the first " is preceded by bbcode-like garbage.
This commit is contained in:
parent
b19ad15086
commit
9124cf0eaf
2 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ test("Auto quoting", function() {
|
|||
"it converts single line quotes to blockquotes");
|
||||
cooked('"hello\nworld"', "<p>\"hello<br/>world\"</p>", "It doesn't convert multi line quotes");
|
||||
cooked('"hello "evil" trout"', '<p>"hello "evil" trout"</p>', "it doesn't format quotes in the middle of a line");
|
||||
cooked('["text"', '<p>["text"</p>', "it recognizes leading tag-like text");
|
||||
});
|
||||
|
||||
test("Traditional Line Breaks", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue