add style="white-space: pre-wrap;" for pre tag