fix: Use 80-char lines with centered section titles

This commit is contained in:
juanatsap
2025-11-30 14:25:28 +00:00
parent 170dba1a5b
commit 768fd3ba72
2 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func (h *CVHandler) PlainText(w http.ResponseWriter, r *http.Request) {
// cleanPlainText removes extra whitespace, HTML tags, and wraps long lines
func cleanPlainText(text string) string {
const maxLineLength = 120
const maxLineLength = 80
// Remove HTML tags (from safeHTML fields)
htmlTagRe := regexp.MustCompile(`<[^>]*>`)