aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-02-05 17:01:01 -0600
committerthe lemons <citrons@mondecitronne.com>2022-02-05 17:01:01 -0600
commit7955f42266e9d22a1c11e241b53f7273d2e9bfde (patch)
tree8a2f56853e5f663779c73db6e4141ea81f72a516
parent6b48a9a511112d573eb7c53d8a8d655ea597bf0b (diff)
#redirect preview link target="_blank"
-rwxr-xr-xzzcxz.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/zzcxz.cgi b/zzcxz.cgi
index d9589cc..354ad79 100755
--- a/zzcxz.cgi
+++ b/zzcxz.cgi
@@ -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