SproutCMS

This is the code documentation for the SproutCMS project

function widont()

Prevents widow words by inserting a non-breaking space between the last two words.

Usage

string Text::widont ( string $str );

Arguments

  1. string $str
    string to remove widows from

Return value

  • string

See also