Skip to content

Commit

Permalink
hotfix: follow-up to PR #267, was missing step in normalization funct…
Browse files Browse the repository at this point in the history
…ion for Axe descriptions (line breaks used as separators)
  • Loading branch information
danielweck committed Aug 5, 2019
1 parent f7a1c6e commit 6f624bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ace-report-axe/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function axe2ace(spineItem, axeResults, lang) {
description = description.replace(/[\n]+/g, "\n");
description = description.replace(/\n/g, " --- ");
description = description.replace(/\s+/g, " ");
description = description.replace(/ --- /g, "\n");

let target = node.target;
let targetCFI = node.targetCFI;
Expand Down

0 comments on commit 6f624bc

Please sign in to comment.