book-source 0.3.18 → 0.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,7 @@ exports.toc = ( structuredDocument , object , params , data ) => {
110
110
  while ( object.level < lastHeaderLevel && lastListLevel > 0 ) {
111
111
  lastListLevel -- ;
112
112
  lastHeaderLevel = data.tocHeaderLevelStack[ lastListLevel ] ;
113
- data.tocHeaderLevelStack.length = data.tocListStack.length = lastListLevel + 1 ;
113
+ data.tocHeaderLevelStack.length = data.tocListStack.length = data.tocSimpleListStack.length = lastListLevel + 1 ;
114
114
  }
115
115
 
116
116
  if ( object.level > lastHeaderLevel ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "book-source",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "A lightweight markup language, inspired by Markdown.",
5
5
  "main": "lib/book-source.js",
6
6
  "directories": {