Fix data enter for function text nodes