2
0
Fork 0
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:
Robin Ward 2013-08-22 15:54:41 -04:00
parent 32655e9dad
commit 6fe0d29a01
2 changed files with 36 additions and 11 deletions

View file

@ -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() {