diff --git a/src/asciidoctor-external-links-attributes.js b/src/asciidoctor-external-links-attributes.js new file mode 100644 index 00000000..4873fad7 --- /dev/null +++ b/src/asciidoctor-external-links-attributes.js @@ -0,0 +1,23 @@ +'use strict'; + +module.exports = function externalLinksAttributes () { + this.docinfoProcessor(function(){ + this.process(({backend}) => { + if (backend !== 'html5') { + return ''; + } + + return ``; + }); + }); +};