Fix styling of code blocks in rich text