trim toc node text