From 210a4288d336e8716dc9dca4da5dcf62e6d8e7b2 Mon Sep 17 00:00:00 2001 From: xoy Date: Sun, 29 Jan 2023 20:03:00 +0100 Subject: [PATCH] fehlerbehebung --- html.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html.go b/html.go index a357b33..b0a44a1 100644 --- a/html.go +++ b/html.go @@ -77,9 +77,9 @@ func htmlReplacer(input string, activePage string) string { break } - tempA = htmlElement("h2", htmlClean(Event.title), "title") - tempA += htmlElement("p", htmlClean(Event.date), "date") - tempA += htmlElement("p", htmlClean(Event.description), "desc") + tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"") + tempA += htmlElement("p", htmlClean(Event.date), "class=\"dat\"") + tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"") tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"") tempB += "!SPLIT" }