Browse Source

different code, different approach

master
Marius Ciepluch 7 years ago
committed by GitHub
parent
commit
f6b3f2cdec
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      assets/javascripts/image-tag-whitelist.js

+ 3
- 6
assets/javascripts/image-tag-whitelist.js

@ -1,6 +1,3 @@
(function() {
Discourse.Markdown.whiteListTag('span', 'class', 'dropcap');
Discourse.Markdown.whiteListTag('span', 'class', 'sclass');
})();
(function () {
Discourse.Markdown.whiteListTag('color', 'center', 'anchor', 'font', 'table', 'tr', 'td', 'span');
}).call(this);

Loading…
Cancel
Save