From f0424eecc9bdd1ee040ec5f5bd4cb67783ac56b4 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" }