mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Fix the bug by removing duplicated codeblock
See src/subParsers/outputModifiers.js
This commit is contained in:
parent
da598d64e4
commit
b63baee9f5
|
@ -272,9 +272,6 @@ 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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user