]> git.plutz.net Git - shellwiki/commitdiff
type in calendar links
authorPaul Hänsch <paul@plutz.net>
Mon, 18 Mar 2024 19:29:42 +0000 (20:29 +0100)
committerPaul Hänsch <paul@plutz.net>
Mon, 18 Mar 2024 19:29:42 +0000 (20:29 +0100)
macros/calendar

index b56784cee6203720c75154f099b35e31b9ade50c..66dcf1f5664fffc0cd629bf09542ab5248e7a89f 100755 (executable)
@@ -299,7 +299,7 @@ cal_month() {
             "$(UNSTRING "${link#*#}" |URL)" \
             "$(UNSTRING "$title" |HTML)"
         elif [ "$((start / 86400))" -eq "$((dcnt / 86400))" ]; then
-          printf '<li>%s - <a href="%s\#%s">%s</a></li>' \
+          printf '<li>%s - <a href="%s#%s">%s</a></li>' \
             "$(date -ud @"$start" +%H:%M)" \
             "$(UNSTRING "${link%%#*}" |URL)" \
             "$(UNSTRING "${link#*#}" |URL)" \