fehlerbehebung

This commit is contained in:
xoy 2023-01-29 20:03:00 +01:00
parent 7bcfd9273f
commit 210a4288d3
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}