Remove duplicate target attr

This commit is contained in:
Marcus Noble 2021-02-20 16:29:50 +00:00
parent 79cd2adfd4
commit 7d6428b0da
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
{{ if .ExtendedEntities }}
{{ range .ExtendedEntities.Media }}
<a rel="noopener" target="_blank" href="{{ .Media_url_https }}" target="_blank"><img class="media-tweetsvg" width="{{ .Sizes.Small.W }}" src="data:image/jpeg;base64,{{ base64 .Media_url }}" alt="{{ .ExtAltText }}"/></a>
<a rel="noopener" target="_blank" href="{{ .Media_url_https }}"><img class="media-tweetsvg" width="{{ .Sizes.Small.W }}" src="data:image/jpeg;base64,{{ base64 .Media_url }}" alt="{{ .ExtAltText }}"/></a>
{{ end }}
{{ end }}

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB