backend: format events with non-breakable spaces
This commit is contained in:
parent
0c5aa65092
commit
2b0d16aa0d
4 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ func treatOpeningHint(pathname string, team fic.Team) {
|
|||
log.Println("[WRN]", err)
|
||||
} else if theme, err := exercice.GetTheme(); err != nil {
|
||||
log.Println("[WRN]", err)
|
||||
} else if _, err := fic.NewEvent(fmt.Sprintf("L'équipe %s a dévoilé un indice pour le <strong>%d<sup>e</sup></strong> défi %s !", team.Name, lvl, theme.Name), "alert-info"); err != nil {
|
||||
} else if _, err := fic.NewEvent(fmt.Sprintf("L'équipe %s a dévoilé un indice pour le <strong>%d<sup>e</sup></strong> défi %s !", team.Name, lvl, theme.Name), "alert-info"); err != nil {
|
||||
log.Println("[WRN] Unable to create event:", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue