1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00

external link should be opened in a new tab

This commit is contained in:
lxsang 2020-06-26 16:45:53 +02:00
parent cceaf1a288
commit dd501870c2

View File

@ -65,7 +65,7 @@ local elinks = __main__:get("elinks")
if elinks then if elinks then
for k,v in ipairs(elinks) do for k,v in ipairs(elinks) do
?> ?>
<a class = "x-link" href ="<?=v.url?>"> <a class = "x-link" target="_blank" href ="<?=v.url?>">
<?=v.name?> <?=v.name?>
</a> </a>
<?lua <?lua