code fix
by
CO
:
Fixed bug in getTextProperty related to empty nodes.