mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Change the approach to sanitization. Includes a more detailed API
for allowing classes and attributes for only certain tag names.
This commit is contained in:
@@ -156,5 +156,5 @@
|
||||
});
|
||||
}
|
||||
|
||||
Discourse.Markdown.whiteListClass("emoji");
|
||||
Discourse.Markdown.whiteListTag('img', 'class', 'emoji');
|
||||
}).call(this);
|
||||
|
||||
Reference in New Issue
Block a user