gitbook-plugin-etoc
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -24,3 +24,3 @@ var toc = require('markdown-toc'); | ||
// insert <!-- toc --> before the first h2/h3/h4 element | ||
page.content = page.content.replace(/[\r|\n|\r\n]##/, eol + '<!-- toc -->' + eol + '##'); | ||
page.content = page.content.replace(/[\r\n]##/, eol + '<!-- toc -->' + eol + '##'); | ||
} | ||
@@ -27,0 +27,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"main": "index.js", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"engines": { | ||
@@ -8,0 +8,0 @@ "gitbook": "*" |
6712