Moved text node evaluation earlier in the expansion cycle

This makes it possible to use Haiku delims (e.g. []) in text nodes