Added spans to format text