@banta/sdk 4.7.1 → 4.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,7 +224,7 @@ class BantaMarkdownToHtmlPipe {
224
224
  const linkRenderer = this.renderer.link;
225
225
  this.renderer.link = (href, title, text) => {
226
226
  const html = linkRenderer.call(this.renderer, href, title, text);
227
- return html.replace(/^<a /, '<a target="_blank" rel="noopener nofollow" ');
227
+ return html.replace(/^<a /, '<a target="_blank" rel="noopener noreferrer nofollow" ');
228
228
  };
229
229
  }
230
230
  transform(value) {
@@ -238,7 +238,7 @@ class BantaMarkdownToHtmlPipe {
238
238
  if ('target' in node) {
239
239
  node.setAttribute('target', '_blank');
240
240
  // prevent https://www.owasp.org/index.php/Reverse_Tabnabbing
241
- node.setAttribute('rel', 'noopener noreferrer');
241
+ node.setAttribute('rel', 'noopener noreferrer nofollow');
242
242
  }
243
243
  // set non-HTML/MathML links to xlink:show=new
244
244
  if (!node.hasAttribute('target')