correcting a bug in the prettifyCodeSnippets query plugin