partial(showdown.js): enabled output modifiers

This commit is contained in:
Estevão Soares dos Santos 2015-04-22 14:51:57 +01:00
parent 0fd10cb56a
commit d996b4438d

View File

@ -245,6 +245,9 @@ showdown.Converter = function (converterOptions) {
text = text.replace(/~T/g, '~'); text = text.replace(/~T/g, '~');
// Run output modifiers // Run output modifiers
showdown.helper.forEach(globals.outputModifiers, function (ext) {
text = showdown.subParser('runExtension')(ext, text);
});
text = parsers.outputModifiers(text, options, globals); text = parsers.outputModifiers(text, options, globals);
return text; return text;