Files
hugo/tpl/strings
Khayyam Saleem c0d15a2897 strings: fix Truncate behavior for formatted html
Before this fix, strings.Truncate would erroneously re-include
attributes from the opening tag in the closing tag when closing
formatted html, due to a bug in how tagnames were extracted from the
regex capture group for html tags used in `truncate.go`. This change
ensures that only the tagname is retained and all attributes are discarded
when storing the tags for closing them later.

Fixes #10399
2023-03-01 17:59:50 +01:00
..
2023-02-25 19:53:18 +01:00
2023-01-17 12:14:11 +01:00
2023-01-17 12:14:11 +01:00