hugo/tpl/strings
Cameron Moore 64789fb5dc tpl: Refactor and fix substr logic
Fix miscalculations when start is negative.  Results should now match
PHP substr.

Fixes #7993
2020-11-28 11:53:46 +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: Refactor and fix substr logic 2020-11-28 11:53:46 +01:00
strings_test.go tpl: Refactor and fix substr logic 2020-11-28 11:53:46 +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