Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

substr slicestr template func and unicode issue #1333

Closed
benzwu opened this issue Aug 7, 2015 · 5 comments
Closed

substr slicestr template func and unicode issue #1333

benzwu opened this issue Aug 7, 2015 · 5 comments

Comments

@benzwu
Copy link
Contributor

benzwu commented Aug 7, 2015

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

result

slicestr produce similar result

@benzwu benzwu changed the title substr template func and unicode bug substr slicestr template func and unicode issue Aug 7, 2015
@tatsushid
Copy link
Contributor

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

@benzwu
Copy link
Contributor Author

benzwu commented Aug 7, 2015

super! thanks

@bep bep added the Bug label Aug 7, 2015
@bep bep closed this as completed in c7aa881 Aug 7, 2015
@bep
Copy link
Member

bep commented Aug 7, 2015

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

@tatsushid
Copy link
Contributor

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

tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants