Two fixes: (1) Make it so that <pre> and <code> blocks are not word-wrapped, as their newlines should be respected. (2) When all filenames  start with a number and then an underscore, list them in the correct order. I.e., previously, 10_foo.txt would come before 2_bar.txt, whereas they now appear in the correct order in the resource list.