noSpace

open fun noSpace(string: String)

Throw an exception if the string contains whitespace. Whitespace is not allowed in tagNames and attributes.

Parameters

string

A string.

Throws

Thrown if the string contains whitespace or is empty.