mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: @mentions within backticks followed by proper @mentions.
This commit is contained in:
parent
32655e9dad
commit
6fe0d29a01
2 changed files with 36 additions and 11 deletions
|
@ -144,6 +144,10 @@ test("Mentions", function() {
|
|||
"<p>don't <code>@mention</code></p>",
|
||||
"Does not mention in an inline code block");
|
||||
|
||||
cooked("Yes `@this` should be code @eviltrout",
|
||||
"<p>Yes <code>@this</code> should be code <span class=\"mention\">@eviltrout</span></p>",
|
||||
"Does not mention in an inline code block");
|
||||
|
||||
});
|
||||
|
||||
test("Oneboxing", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue