mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 11:44:34 +01:00
Remove apex from the titleizedContent
This commit is contained in:
@@ -170,9 +170,9 @@ func renderEvent(w http.ResponseWriter, r *http.Request) {
|
||||
if titleizedContent == "" {
|
||||
titleizedContent = title
|
||||
} else if len(titleizedContent) <= 65 {
|
||||
titleizedContent = "\"" + titleizedContent + "\""
|
||||
titleizedContent = titleizedContent
|
||||
} else {
|
||||
titleizedContent = "\"" + titleizedContent[:64] + "…\""
|
||||
titleizedContent = titleizedContent[:64]
|
||||
}
|
||||
|
||||
// content massaging
|
||||
|
||||
Reference in New Issue
Block a user