Use <pre><code> instead of only <pre> for code blocks