pre {
    white-space: pre-line;
    word-wrap: break-word;
}