mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
bring back attachment icons
This commit is contained in:
@ -95,7 +95,7 @@ var getUploadMarkdown = function(filename) {
|
||||
|
||||
test("getUploadMarkdown", function() {
|
||||
ok(getUploadMarkdown("lolcat.gif") === '<img src="/uploads/123/abcdef.ext" width="100" height="200">');
|
||||
ok(getUploadMarkdown("important.txt") === '<a class="attachment" href="/uploads/123/abcdef.ext">important.txt</a><span class="size">(42 Bytes)</span>');
|
||||
ok(getUploadMarkdown("important.txt") === '<a class="attachment" href="/uploads/123/abcdef.ext">important.txt</a> (42 Bytes)');
|
||||
});
|
||||
|
||||
test("isAnImage", function() {
|
||||
|
Reference in New Issue
Block a user