在bootstrap里面,pre的自动换行。 加一个样式: <pre id="rawContent" style=" white-space: pre-wrap;word-wrap: break-word;"></pre>