From 1ebc4ed7146ee33b140bd57bb5ef223c78bf7c82 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 15 Feb 2024 09:33:27 +0100 Subject: [PATCH] fix empty tags --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 75a6f0d..298859a 100644 --- a/main.js +++ b/main.js @@ -1232,7 +1232,9 @@ function initsnippets() function indexheader(content) { - var indexedheader = {}; + var indexedheader = { + tags: [] + }; var hat = headerandtext(content); var header = hat.header; if (header)