Fix _text attribute parsing