diff --git a/helpers/posting/markdown.js b/helpers/posting/markdown.js index eb1e8506..c0ccf40f 100644 --- a/helpers/posting/markdown.js +++ b/helpers/posting/markdown.js @@ -28,11 +28,6 @@ module.exports = (text) => { return `>${greentext}`; }); - //links - text = text.replace(linkRegex, (match) => { - return `${match}`; - }); - //bold text = text.replace(boldRegex, (match, bold) => { return `${bold}`; @@ -82,6 +77,11 @@ module.exports = (text) => { //dice rolls text = text.replace(diceRegex, diceRoll); + //links + text = text.replace(linkRegex, (match) => { + return `${match}`; + }); + return text; }