Remove blank lines from <pre> blocks in nbconvert

Those are particularly visible when using a custom template to remove inputs.