Switch text processing to avoid internal divs