Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Update fr.js
Browse files Browse the repository at this point in the history
remplacing – (long hyphen) by - (short hyphen)
  • Loading branch information
CapitainFlam committed Sep 15, 2022
1 parent aef4284 commit 18fdf37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/lib/cleanup/languages/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function clean(sentences) {
.replace(/\s+\)/g, ')')
.replace(/\s+\]/g, ']')

// remplacing – (long hyphen) by - (short hyphen)
.replace(//g, '-')

// no space before or after hyphen
.replace(/\s+-\s+/g, '-')

Expand Down

0 comments on commit 18fdf37

Please sign in to comment.