diff --git a/Tools/git-changelog.js b/Tools/git-changelog.js index c07f632e1e..9e78a2ef93 100644 --- a/Tools/git-changelog.js +++ b/Tools/git-changelog.js @@ -10,12 +10,13 @@ const { execCommand, githubUsername } = require('./tool-utils.js'); // From https://stackoverflow.com/a/6234804/561309 function escapeHtml(unsafe) { + // We only escape <> as this is enough for Markdown return unsafe - .replace(/&/g, '&') + // .replace(/&/g, '&') .replace(//g, '>') - .replace(/"/g, '"') - .replace(/'/g, '''); + .replace(/>/g, '>'); + // .replace(/"/g, '"') + // .replace(/'/g, '''); } async function gitLog(sinceTag) {