diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-05 17:01:01 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-05 17:01:01 -0600 |
commit | 7955f42266e9d22a1c11e241b53f7273d2e9bfde (patch) | |
tree | 8a2f56853e5f663779c73db6e4141ea81f72a516 | |
parent | 6b48a9a511112d573eb7c53d8a8d655ea597bf0b (diff) |
#redirect preview link target="_blank"
-rwxr-xr-x | zzcxz.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -205,10 +205,10 @@ local function convert_markup(m) if directives.redirect then local r = directives.redirect - return - ('<p class="note">this action will link to <a href="/g/%s">%s</a>.</p>') - :format(r, r), - directives + return ( + '<p class="note">this action will link to' .. + '<a href="/g/%s" target="_blank">%s</a>.</p>' + ):format(r, r), directives end return table.concat(result), directives |