Options: textSpaces on split="text"
The textSpaces option determines how spaces will be treated on the text. When using split="text" you have the following options:
textSpaces="style" (default)
If you do not specify a textSpaces option, the default: textSpaces="style"
is used. Spaces are encapsulated in a span and styled.
Example
ALTERNATING COLORED SEGMENTS on the magazine’s spine make WIRED recognizable on nearly any bookshelf.
textSpaces="nostyle"
Spaces are encapsulated in a span but not styled. The space is counted when calculating styles.
Example
ALTERNATING COLORED SEGMENTS on the magazine’s spine make WIRED recognizable on nearly any bookshelf.
textSpaces="nostylenocount"
Spaces are encapsulated in a span but not styled. The space is not counted when calculating styles.
Example
ALTERNATING COLORED SEGMENTS on the magazine’s spine make WIRED recognizable on nearly any bookshelf.
textSpaces="nostyleorwrap"
Spaces are not encapsulated in a span. They are replaced with a entity. The space is not counted when calculating styles.
Example
ALTERNATING COLORED SEGMENTS on the magazine’s spine make WIRED recognizable on nearly any bookshelf.
textSpaces="remove"
Spaces are removed.
Example
ALTERNATING COLORED SEGMENTS on the magazine’s spine make WIRED recognizable on nearly any bookshelf.