summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index 8ca1dcb5..a4eed879 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -1032,7 +1032,7 @@ var gistPlugin = new Plugin(
//TOC
var tocPlugin = new Plugin(
// regexp to match
- /^\[TOC\]$/,
+ /^\[TOC\]$/i,
// this function will be called when something matches
function (match, utils) {