substr slicestr template func and unicode issue #1333

Closed
benzwu opened this Issue Aug 7, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@benzwu
Contributor

benzwu commented Aug 7, 2015

{{ $cap := substr "ĀĀĀ" 0 1}}
{{ $cap }}

result

slicestr produce similar result

@benzwu benzwu changed the title from substr template func and unicode bug to substr slicestr template func and unicode issue Aug 7, 2015

@tatsushid

This comment has been minimized.

Show comment
Hide comment
@tatsushid

tatsushid Aug 7, 2015

Contributor

Fixed in my local repository. I will send a PR later

Contributor

tatsushid commented Aug 7, 2015

Fixed in my local repository. I will send a PR later

@benzwu

This comment has been minimized.

Show comment
Hide comment
@benzwu

benzwu Aug 7, 2015

Contributor

super! thanks

Contributor

benzwu commented Aug 7, 2015

super! thanks

@bep bep added the Bug label Aug 7, 2015

@bep bep closed this in c7aa881 Aug 7, 2015

@bep

This comment has been minimized.

Show comment
Hide comment
@bep

bep Aug 7, 2015

Member

oh, I didn't see that you already have a fix, @tatsushid

Member

bep commented Aug 7, 2015

oh, I didn't see that you already have a fix, @tatsushid

@tatsushid

This comment has been minimized.

Show comment
Hide comment
@tatsushid

tatsushid Aug 7, 2015

Contributor

@bep no problem. The commit is the same I did. Thanks!

Contributor

tatsushid commented Aug 7, 2015

@bep no problem. The commit is the same I did. Thanks!

tychoish added a commit to tychoish/hugo that referenced this issue Aug 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment