hugo/tpl/strings
Cameron Moore 5862fd2a60 tpl: Fix substr when length parameter is zero
When length parameter is zero, always return an empty string.

Updates #7993
2020-12-01 23:20:04 +01:00
..
init.go
init_test.go
regexp.go
regexp_test.go
strings.go tpl: Fix substr when length parameter is zero 2020-12-01 23:20:04 +01:00
strings_test.go tpl: Fix substr when length parameter is zero 2020-12-01 23:20:04 +01:00
truncate.go
truncate_test.go