blackfriday
blackfriday copied to clipboard
Feature request: widont capability
"Widont" is a common practice in blogging/CMS world that prevents a situation where a line break happened and there's only one world at the end.
- https://www.npmjs.com/package/widont
- https://www.drupal.org/project/widont
- https://shauninman.com/plete/2006/08/widont-wordpress-plugin
For example, a title or paragraph with a line break like this doesn't look good:
Welcome to my really cool
blog!
What widont extensions do is to replace the last space with
(non-breaking space character) so that the last two words will share the same fate:
Welcome to my really
cool blog!
Blackfriday sounds about the right place to implement a functionality like this. Thoughts?