From e2b753abb23c6f9f756a17b0ca039e4672aa7ee7 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Thu, 8 May 2025 18:52:49 +0300
Subject: [PATCH] More convenient => link

---
 zk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/zk b/zk
index d8e8ba7..04b0829 100755
--- a/zk
+++ b/zk
@@ -65,7 +65,7 @@ quickly open results in the editor.
 
 =item *
 
-C<E<gt> URL[ optional text]\r> on a separate line will add a link to the
+C<=E<gt> URL[ optional text]\r> on a separate line will add a link to the
 specified URL (with optional text). Pay attention that line contains
 carriage-return character at the end.
 
@@ -287,7 +287,7 @@ sub genHTML {
             s/^(\s*)//g;
             my $head = $1;
             my @cols = split /\s+/;
-            if ($cols[0] eq ">") {
+            if ($cols[0] eq "=>") {
                 my $t = ($#cols > 1) ? (join " ", @cols[2..$#cols]) : $cols[1];
                 $t = htmlescape $t;
                 $t =~ s/"/\&guot;/g;
@@ -307,7 +307,7 @@ sub genHTML {
                 $doBacksForced = 1;
                 next;
             } else {
-                die "unknown $cols[0] command\n";
+                die "unknown $cols[0] command: $page\n";
             }
         } else {
             $_ = htmlescape $_;
-- 
2.51.0