htmlSafeSpaces property

String get htmlSafeSpaces

Converts all spaces (outside of html tags) in the string with the html entity   This can be useful to preserve spacing when rendering the string in a browser where all spacing would otherwise be collapsed.

Implementation

String get htmlSafeSpaces => Chalk.htmlSafeSpaces(this);