Fix showdown patch registration

da96bf3c2950163cb4efbc4a4583b58a8214f608

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -3Ignore whitespace
public/lib/showdown-patch.js+3 -3
@@ -1,6 +1,6 @@
1showdown.subParser('makehtml.unhashHTMLSpans', function (text, options, globals) {1showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
2 'use strict';2 'use strict';
3 text = globals.converter._dispatch('makehtml.unhashHTMLSpans.before', text, options, globals).getText();3 text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);
44
5 for (var i = 0; i < globals.gHtmlSpans.length; ++i) {5 for (var i = 0; i < globals.gHtmlSpans.length; ++i) {
6 var repText = globals.gHtmlSpans[i],6 var repText = globals.gHtmlSpans[i],
@@ -19,6 +19,6 @@ showdown.subParser('makehtml.unhashHTMLSpans', function (text, options, globals)
19 text = text.replace('¨C' + i + 'C', repText);19 text = text.replace('¨C' + i + 'C', repText);
20 }20 }
2121
22 text = globals.converter._dispatch('makehtml.unhashHTMLSpans.after', text, options, globals).getText();22 text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);
23 return text;23 return text;
24});24});