lib/kramdown/parser/govuk.rb in govspeak-6.5.0 vs lib/kramdown/parser/govuk.rb in govspeak-6.5.1

- old
+ new

@@ -31,10 +31,10 @@ def add_link(element, href, title, alt_text = nil, ial = nil) if element.type == :a begin host = Addressable::URI.parse(href).host unless host.nil? || @document_domains.compact.include?(host) - element.attr['rel'] = 'external' + element.attr["rel"] = "external" end # rubocop:disable Lint/HandleExceptions rescue Addressable::URI::InvalidURIError # it's safe to ignore these very *specific* exceptions end