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
|
|
@ -39,7 +39,7 @@ func treatRegistration(pathname string, team_id string) {
|
|||
if err := os.Remove(pathname); err != nil {
|
||||
log.Println("[WRN]", err)
|
||||
}
|
||||
if _, err := fic.NewEvent(fmt.Sprintf("Souhaitons bonne chance à l'équipe <strong>%s</strong> qui vient de nous rejoindre !", team.Name), "alert-info"); err != nil {
|
||||
if _, err := fic.NewEvent(fmt.Sprintf("Souhaitons bonne chance à l'équipe <strong>%s</strong> qui vient de nous rejoindre !", team.Name), "alert-info"); err != nil {
|
||||
log.Println("[WRN] Unable to create event:", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue