Hello everybody,
Is there a function who sanitize the accent.
We have urlize
but this function doesn’t sanitize the accent.
I can use replaceRE
but the regex seems difficult
this is my case
/petite-annonce/{{ urlize (lower .network.name) }}-{{ replaceRE (replace (urlize (lower .network.city) "-" "") }}-{{ .location.zipcode }}
and i’m trying
{{ lower .network.city | urlize | replaceRE "äâàáéèëêïîìíöôòóüûùúµ-" "aaaaeeeeiiiioooouuuu" }}
thank you for help