]> git.maquefel.me Git - brevno-suite/hugo/commit
tpl: Fix strings/truncate CJK handling
authorKazuo Oishi <oishi@giraffy.jp>
Fri, 10 Oct 2025 04:05:07 +0000 (13:05 +0900)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 15 Oct 2025 11:00:10 +0000 (13:00 +0200)
commit88aea56683ec1e469e97c0771c0c01a15010c7c2
treef7afe9f141dcd442efb34b6ff2c92cb069f9a4d4
parentf4c11571bb0b1d5b5cb3d7b66a4fdca808f71cb8
tpl: Fix strings/truncate CJK handling

Fix truncate position for mix of CJK and non-CJK text.

Fixes #14039
tpl/strings/truncate.go
tpl/strings/truncate_test.go