Include ç and Ç in urlid
This commit is contained in:
parent
892bb99461
commit
b98e23d060
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ func ToURLid(str string) string {
|
|||
re_A := regexp.MustCompile("[ÀÁÂÄĀ]")
|
||||
str = re_A.ReplaceAllLiteralString(str, "A")
|
||||
|
||||
re_c := regexp.MustCompile("[ç]")
|
||||
str = re_c.ReplaceAllLiteralString(str, "c")
|
||||
re_C := regexp.MustCompile("[Ç]")
|
||||
str = re_C.ReplaceAllLiteralString(str, "C")
|
||||
|
||||
re_e := regexp.MustCompile("[éèêëȩē]")
|
||||
str = re_e.ReplaceAllLiteralString(str, "e")
|
||||
re_E := regexp.MustCompile("[ÉÈÊËĒ]")
|
||||
|
|
Reference in a new issue