]> Sergey Matveev's repositories - zk.git/commitdiff
Ability to insert raw HTML
authorSergey Matveev <stargrave@stargrave.org>
Fri, 9 May 2025 17:51:30 +0000 (20:51 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 9 May 2025 18:03:46 +0000 (21:03 +0300)
zk

diff --git a/zk b/zk
index 4edf56e8a2bb046aaec7ebabd47b83e56075421c..c634b03436daf61175b7af7ad6b77b1c332b7aa3 100755 (executable)
--- a/zk
+++ b/zk
@@ -306,6 +306,11 @@ sub genHTML {
             } elsif ($cols[0] eq "do-backs") {
                 $doBacksForced = 1;
                 next;
+            } elsif ($cols[0] eq "raw") {
+                $_ = join " ", @cols[1..$#cols];
+            } elsif ($cols[0] eq "#") {
+                # this is commented string
+                next;
             } else {
                 die "unknown $cols[0] command: $page\n";
             }