_link: Ext url icon 10px

This commit is contained in:
Stig-Ørjan Smelror 2024-02-04 18:14:01 +01:00
parent d534e2676f
commit baa4fba784

2
qsgen2
View File

@ -860,7 +860,7 @@ function _link() {
local modified_link="<a href=\"${url_dest}\">${url_txt}" local modified_link="<a href=\"${url_dest}\">${url_txt}"
if [[ ${url_dest} =~ ^https?:// ]]; then if [[ ${url_dest} =~ ^https?:// ]]; then
# Add external link icon for external URLs # Add external link icon for external URLs
modified_link+="<img class=\"exticon\" alt=\"External site icon\" src=\"/images/ext-url-black.svg\" width=\"14\" />" modified_link+="<img class=\"exticon\" alt=\"External site icon\" src=\"/images/ext-url-black.svg\" width=\"10\" />"
fi fi
modified_link+="</a>" modified_link+="</a>"
line=${line//"#link ${url_full}"/${modified_link}} line=${line//"#link ${url_full}"/${modified_link}}