I am trying to view a .tex file with very long lines, but the <pre> element does not split these long lines despite it having element style:
word-wrap: break-word;
white-space: pre-wrap;
Adding !important to these rules makes the line wrap, but there is no padding at the start of the newline, so it goes below the line number margin:
