fehlerbehebung

This commit is contained in:
xoy 2023-01-29 20:03:00 +01:00
parent 6e269efd4d
commit f0424eecc9
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ func htmlReplacer(input string, activePage string) string {
break break
} }
tempA = htmlElement("h2", htmlClean(Event.title), "title") tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
tempA += htmlElement("p", htmlClean(Event.date), "date") tempA += htmlElement("p", htmlClean(Event.date), "class=\"dat\"")
tempA += htmlElement("p", htmlClean(Event.description), "desc") 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" tempB += "!SPLIT"
} }