diff --git a/js/dom.js b/js/dom.js index 003b02c7..8638e941 100644 --- a/js/dom.js +++ b/js/dom.js @@ -194,11 +194,12 @@ function $element(opt) { } -function makeLink(href = '', textContent) { +function makeLink(href = '', content) { return $element({ tag: 'a', target: '_blank', href, - textContent, + rel: 'noopener', + appendChild: content, }); }