croco-html 0.2.14 → 0.2.15

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.
@@ -933,7 +933,7 @@ class HtmlExtractionMethods {
933
933
  return data;
934
934
  }
935
935
  static transformHtmlStringToBlocks(value, options) {
936
- if (value === undefined) {
936
+ if (value === undefined || value === null) {
937
937
  return [];
938
938
  }
939
939
  value = value