diff --git a/commit-to-output.js b/commit-to-output.js index e03e862..e127e46 100644 --- a/commit-to-output.js +++ b/commit-to-output.js @@ -4,8 +4,8 @@ const chalk = require('chalk') function cleanMarkdown (txt) { - // just escape '[' & ']' - return txt.replace(/([\[\]])/g, '\\$1') + // escape []<> + return txt.replace(/([\[\]<>])/g, '\\$1') } @@ -67,4 +67,4 @@ function commitToOutput (commit, simple, ghId) { } -module.exports = commitToOutput \ No newline at end of file +module.exports = commitToOutput