From bd03c3e7b18c0e8d5932728f78e9baa113a5290f Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Fri, 26 Jan 2024 15:42:53 +0100 Subject: [PATCH] fix: add data-monster-head as id --- hashes.nix | 2 +- source/template/prepare.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hashes.nix b/hashes.nix index f665ca3..2c9ec8b 100644 --- a/hashes.nix +++ b/hashes.nix @@ -1,3 +1,3 @@ { - hashValue = "sha256-FxDNgeg6Ft3jvtJBojhqYbohGDZCY6TNAhpY/j41OVQ="; + hashValue = "sha256-M4pZBhlt0CrRgAf9DxRUVNmA2sYxDYIccreOQy7qmrk="; } diff --git a/source/template/prepare.go b/source/template/prepare.go index 07d038d..aa75cc2 100644 --- a/source/template/prepare.go +++ b/source/template/prepare.go @@ -454,7 +454,7 @@ func checkMonsterDatatableHead(n *html.Node, storage *types.PageData) { id := util.GetAttribute(div.Attr, constants.DataBobReferenceAttributeKey) if id == "" { - headID := util.BuildTextKey(head) + headID, _ := util.BuildTextKey(head) if headID == "" { id = util.GetNextId() } else { -- GitLab