An error occurred
[constructor]()
[__proto__]()
an error is emitted as Uncaught TypeError: url.replace is not a function
Cause:
showdown/src/subParsers/makehtml/anchors.js: L.25~30
if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {
url = globals.gUrls[linkId];
if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {
title = globals.gTitles[linkId];
}
}
When globals.gUrls is Object, globals.gUrls.constructor return functions. for that reason showdown.helper.isUndefined returns false.
At that time url becomes functions.
The result is this.
Well caught. We will need to revamp the internals a bit. I believe this happens with other javascript "magic" words.
@tivie any news on when this will be solved?
Most helpful comment
Well caught. We will need to revamp the internals a bit. I believe this happens with other javascript "magic" words.