Let codemirror highlight <pre> tags in dialogs