Int textSizeOfBlock(Element element)
Arguments
element: The element
Usage
Get the text length of an element's contents, including any text in sub-elements, but not the tags that delimit those elements. Items such as < are shown in their unescaped form.
Note that any element generators inside the element will be evaluated as a result of this function, which may be very inefficient.