From b6fa1f44e4b190d3f1bd25fb61a203d75ce38ede Mon Sep 17 00:00:00 2001 From: xoy Date: Sun, 29 Jan 2023 20:23:02 +0100 Subject: [PATCH] fehlerbehebung --- html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html.go b/html.go index 0f1d50e..6ee2459 100644 --- a/html.go +++ b/html.go @@ -80,7 +80,7 @@ func htmlReplacer(input string, activePage string) string { tempA = htmlElement("p", htmlClean(Event.date), "class=\"date\"") tempA += htmlElement("h2", htmlClean(Event.title), "class=\"title\"") tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"") - tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"") + tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "/event/"+strconv.Itoa(Event.id), false, "class=\"event\"") tempB += "!SPLIT" } output = strings.ReplaceAll(output, "!EVENTS", htmlElement("div", strings.ReplaceAll(tempB, "!SPLIT", ""), "class=\"eventList\""))