Html text formatter