-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Short description of the enhancement
Add a truncate()
method to the sanitizer class.
Current vs. suggested behavior
Maybe the sanitizer class isn't the right place for it - maybe just a public function: wireTruncate()
or something?
Why would the enhancement be useful to users?
I think this is a very common need and it would be nicer than using our own versions.
Optional: Screenshots/Links that demonstrate the enhancement
I think you could make use of this function:
https://github.com/processwire/processwire/blob/57b297fd1d828961b20ef29782012f75957d6886/wire/modules/Markup/MarkupRSS.module#L181
szabeszg, teppokoivula, horst-n and phlppschrr
Metadata
Metadata
Assignees
Labels
No labels