Allow isTextBlock to be given a nodeName or Node object

It as being used that way, but falling over anyway.