Move generated text out of markup.