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 tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
init_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
regexp.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
regexp_test.go tpl: Add limit support to replaceRE 2020-08-28 18:57:56 +02:00
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 Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00
truncate_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00