replace spans with br tags in profile editor