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.
2 parents 158aa14 + bd3f80e commit e78bbebCopy full SHA for e78bbeb
.github/actions/find/src/findForUrl.ts
@@ -15,11 +15,11 @@ export async function findForUrl(url: string): Promise<Finding[]> {
15
scannerType: 'axe',
16
url,
17
html: violation.nodes[0].html,
18
- problemShort: violation.help.toLowerCase(),
19
- problemUrl: violation.helpUrl,
+ problemShort: violation.help.toLowerCase().replace(/[']/g, '’'),
+ problemUrl: violation.helpUrl.replace(/[']/g, '’'),
20
ruleId: violation.id,
21
- solutionShort: violation.description.toLowerCase(),
22
- solutionLong: violation.nodes[0].failureSummary
+ solutionShort: violation.description.toLowerCase().replace(/[']/g, '’'),
+ solutionLong: violation.nodes[0].failureSummary?.replace(/[']/g, '’')
23
}));
24
} catch (e) {
25
// do something with the error
0 commit comments