diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js
index b81e94a..c799681 100644
--- a/IPython/html/static/notebook/js/codecell.js
+++ b/IPython/html/static/notebook/js/codecell.js
@@ -102,7 +102,8 @@ var IPython = (function (IPython) {
mode: 'ipython',
theme: 'ipython',
matchBrackets: true,
- autoCloseBrackets: true
+ // don't auto-close strings because of CodeMirror #2385
+ autoCloseBrackets: "()[]{}"
}
};