Applying block to text node on text() method