Added nobr tag to prevent external link icon and link from breaking

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-30 18:40:40 -07:00
parent 0222a922a1
commit 031c9c1204

View file

@ -514,7 +514,7 @@
if (value) {
if ((value.indexOf("{") === -1) || (value.indexOf("}") ===-1)) {
return '<a href="' + value + '" target="_blank" title="External link to ' + value + '" data-tooltip="true" ><i class="fa fa-external-link"></i> ' + value + '</a>';
return '<nobr><a href="' + value + '" target="_blank" title="External link to ' + value + '" data-tooltip="true" ><i class="fa fa-external-link"></i> ' + value + '</a></nobr>';
}
return value;
}