_link: Add new external icon size
This commit is contained in:
parent
bc8174501e
commit
3e849c9eb0
2
qsgen2
2
qsgen2
@ -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=\"16\" />"
|
modified_link+="<img class=\"exticon\" alt=\"External site icon\" src=\"/images/ext-url-black.svg\" width=\"14\" />"
|
||||||
fi
|
fi
|
||||||
modified_link+="</a>"
|
modified_link+="</a>"
|
||||||
line=${line//"#link ${url_full}"/${modified_link}}
|
line=${line//"#link ${url_full}"/${modified_link}}
|
||||||
|
Loading…
Reference in New Issue
Block a user