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

widont() method wont insert space character when last word contains dash #1902

Closed
scsskid opened this issue Jul 4, 2019 · 1 comment

Comments

@scsskid
Copy link

commented Jul 4, 2019

Describe the bug
widont() method wont insert space character when last word contains dash -

To Reproduce
Steps to reproduce the behavior:

  1. insert ihrem Fördergeschäft, sondern auch auf EU-Ebene into a text field
  2. echo in template with $page->field()->kt()->widont()

Expected behavior
should render 'ihrem Fördergeschäft, sondern auch auf EU-Ebene'

Screenshots
If applicable, add screenshots to help explain your problem.

Kirby Version
3.1

Desktop (please complete the following information):

  • macOS
  • Chrome
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Sep 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.