@player-ui/markdown-plugin 0.14.2--canary.752.28969 → 0.15.0-next.0

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.
@@ -5816,10 +5816,13 @@ var MarkdownPlugin = function() {
5816
5816
  var value = children.map(function(node2) {
5817
5817
  var transformer = transformers[node2.type];
5818
5818
  if (!transformer) {
5819
- return mappers.text({
5820
- originalAsset: asset,
5821
- value: ""
5822
- });
5819
+ if (mappers.null) {
5820
+ return mappers === null || mappers === void 0 ? void 0 : mappers.null({
5821
+ originalAsset: asset
5822
+ });
5823
+ } else {
5824
+ return null;
5825
+ }
5823
5826
  }
5824
5827
  return transformer({
5825
5828
  astNode: node2,
@@ -5827,6 +5830,8 @@ var MarkdownPlugin = function() {
5827
5830
  mappers: mappers,
5828
5831
  transformers: transformers
5829
5832
  });
5833
+ }).filter(function(x) {
5834
+ return x !== null;
5830
5835
  });
5831
5836
  if (value.length === 1) {
5832
5837
  var _value = _sliced_to_array(value, 1), first = _value[0];