Fix code to use fenced <pre> sections