This modifies the line breaking to allow linebreak="nobreak"
to have its usual effect when it appears past the container width, and also allows the end of the line to be considered a valid breakpoint (which may override an earlier one if the end is close to the container width, and the valid break is near the beginning of the line, for example).
Resolves issue #1970 (closed)