Include ç and Ç in urlid
This commit is contained in:
parent
892bb99461
commit
b98e23d060
|
@ -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("[ÉÈÊËĒ]")
|
||||
|
|
Loading…
Reference in New Issue