Rework </span>-tag removal in extract_content