Update text placeholders to spans.