diff --git a/src/rendering/filters/htmlContentFilter.js b/src/rendering/filters/htmlContentFilter.js index 068ff11..f2d9027 100644 --- a/src/rendering/filters/htmlContentFilter.js +++ b/src/rendering/filters/htmlContentFilter.js @@ -21,7 +21,7 @@ export default function createHtmlContentFilter(data) { const otherAttributes = groups.linkAttributes.replace(/\s+(href|target|rel|class)="[^"]+"/g, ""); return ` - ${groups.linkText} ${groups.linkText}  (opens in a new tab) `; diff --git a/src/rendering/filters/htmlContentFilter.spec.js b/src/rendering/filters/htmlContentFilter.spec.js index e9d866e..969874f 100644 --- a/src/rendering/filters/htmlContentFilter.spec.js +++ b/src/rendering/filters/htmlContentFilter.spec.js @@ -32,7 +32,7 @@ describe("createHtmlContentFilter(site)", () => { const string = htmlContentFilter(`Some external cookies page`); expect(string).toBe(` - Some external cookies page Some external cookies page  (opens in a new tab) `); @@ -42,7 +42,7 @@ describe("createHtmlContentFilter(site)", () => { const string = htmlContentFilter(`Cookies page`); expect(string).toBe(` - Cookies page Cookies page  (opens in a new tab) `);