Strip existing <code> tag when appropriate.