@sanity/block-tools
Advanced tools
Comparing version 0.123.0 to 0.123.1
@@ -252,3 +252,3 @@ 'use strict'; | ||
} | ||
} else { | ||
} else if (node.children) { | ||
node.children = node.children.map(applyDecorator); | ||
@@ -281,3 +281,3 @@ } | ||
} | ||
} else { | ||
} else if (node.children) { | ||
node.children = node.children.map(applyAnnotation); | ||
@@ -284,0 +284,0 @@ } |
{ | ||
"name": "@sanity/block-tools", | ||
"version": "0.123.0", | ||
"version": "0.123.1", | ||
"description": "Can format HTML, Slate JSON or Sanity block array into any other format.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
53665