tpl: Fix countwords to handle special chars
authorJulien Midedji <Julien.Midedji@gmail.com>
Mon, 3 May 2021 07:10:06 +0000 (09:10 +0200)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 07:10:06 +0000 (09:10 +0200)
commit7a2c10ae60f096dacee4b44e0c8ae0a1b66ae033
tree26bd66b90657a90d1398e7de977132f60e6d7077
parente1c328df2590164becc150de842f69292abe557a
tpl: Fix countwords to handle special chars

Fixes #8479
tpl/strings/strings.go
tpl/strings/strings_test.go