Skip to content

Commit

Permalink
Fixes keithmifsud#54: do not overwrite custom attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
prplecake committed Apr 17, 2023
1 parent c24dee3 commit 8902c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll-target-blank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def add_target_blank_attribute(link)
#
# link = Nokogiri node.
def add_rel_attributes(link)
rel = ""
rel = link["rel"] || ""
rel = add_noopener_to_rel(rel)

if @should_add_noreferrrer
Expand Down

0 comments on commit 8902c73

Please sign in to comment.