diff --git a/dist/index.js b/dist/index.js index a2ffaf5..a54a6ea 100644 --- a/dist/index.js +++ b/dist/index.js @@ -90,7 +90,7 @@ function getGroupedIssues(rawValue, baseUrl) { const key = value.key; const url = baseUrl + "browse/" + key; const fields = value.fields; - const summary = fields.summary.replace(/"/g, "`").replace(/'/g, "`"); + const summary = fields.summary.replace(/"/g, "\`").replace(/'/g, "\`"); const type = fields.issuetype.name; return new Issue(key, summary, type, url); }).sort((a, b) => { diff --git a/src/index.ts b/src/index.ts index 22dd68f..6a54825 100644 --- a/src/index.ts +++ b/src/index.ts @@ -72,7 +72,7 @@ function getGroupedIssues(rawValue: any, baseUrl: string): GroupedIssue[] { const url = baseUrl + "browse/" + key const fields = value.fields - const summary = (fields.summary as string).replace(/"/g, "`").replace(/'/g, "`") + const summary = (fields.summary as string).replace(/"/g, "\`").replace(/'/g, "\`") const type = fields.issuetype.name return new Issue(key, summary, type, url)