Fixed none textSpan issue
Merge pull request #2 from fmof/validateTextSpans

Fixed none textSpan issue