]> Sergey Matveev's repositories - zk.git/commitdiff
Use more human readable commands
authorSergey Matveev <stargrave@stargrave.org>
Fri, 9 May 2025 17:50:48 +0000 (20:50 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 9 May 2025 18:03:15 +0000 (21:03 +0300)
zk

diff --git a/zk b/zk
index e5f4172ea0fecd43d7f3d556e032ebd201154b83..4edf56e8a2bb046aaec7ebabd47b83e56075421c 100755 (executable)
--- a/zk
+++ b/zk
@@ -71,7 +71,7 @@ carriage-return character at the end.
 
 =item *
 
-C<I URL[ alt]\r> on a separate line will add an image with
+C<img URL[ alt]\r> on a separate line will add an image with
 optional alternative text similarly as link is specified.
 
 =back
@@ -292,7 +292,7 @@ sub genHTML {
                 $t = htmlescape $t;
                 $t =~ s/"/\&guot;/g;
                 $_ = "${head}=&gt; <a href=\"$cols[1]\">$t</a>";
-            } elsif ($cols[0] eq "I") {
+            } elsif ($cols[0] eq "img") {
                 if ($#cols > 1) {
                     my $t = htmlescape join " ", @cols[2..$#cols];
                     $t =~ s/"/\&guot;/g;