Fixed some display bugs for code snippets

Hi, I've fixed two display bugs for code snippets:

 - line wrapping in code snippets messed up the line numbering, so I switched to white-space: pre
 - the border radius didn't work correctly when a code snippet had a figcaption

Keep up the good work!