We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5993497 commit 9b2bdbeCopy full SHA for 9b2bdbe
src/utilities/markdown.js
@@ -40,8 +40,8 @@ module.exports = function() {
40
}
41
42
if (linksEnabled) {
43
- code = code.replace(/\[([^\[\]]+?)\]\((.+?)\)/g, match => {
44
- match = /\[([^\[\]]+?)\]\((.+?)\)/.exec(match);
+ code = code.replace(/\[([^[\]]+?)\]\((.+?)\)/g, match => {
+ match = /\[([^[\]]+?)\]\((.+?)\)/.exec(match);
45
links.push('<a class="code-link" href="' + match[2] + '">' + match[1] + '</a>');
46
return "MARKDOWNLINK_" + (links.length - 1) + "_";
47
});
0 commit comments