@player-ui/markdown-plugin 1.2.0 → 1.2.1-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.
- package/dist/MarkdownPlugin.native.js +4 -4
- package/dist/MarkdownPlugin.native.js.map +1 -1
- package/dist/cjs/index.cjs +2 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.legacy-esm.js +2 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/index.test.ts +31 -0
- package/src/utils/markdownParser.ts +6 -1
|
@@ -5820,8 +5820,8 @@ var MarkdownPlugin = function() {
|
|
|
5820
5820
|
var parseAssetMarkdownContent = // ../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/plugins/markdown/core/src/utils/markdownParser.ts
|
|
5821
5821
|
function parseAssetMarkdownContent(param) {
|
|
5822
5822
|
var asset = param.asset, mappers = param.mappers, parser = param.parser;
|
|
5823
|
-
var
|
|
5824
|
-
var input =
|
|
5823
|
+
var rawValue = asset.value;
|
|
5824
|
+
var input = rawValue === void 0 || rawValue === null ? "" : String(rawValue);
|
|
5825
5825
|
var children = fromMarkdown(input).children;
|
|
5826
5826
|
if (children.length === 0) {
|
|
5827
5827
|
var empty = mappers.text({
|
|
@@ -12206,8 +12206,8 @@ var MarkdownPlugin = function() {
|
|
|
12206
12206
|
ref: Symbol("not-started"),
|
|
12207
12207
|
status: "not-started"
|
|
12208
12208
|
};
|
|
12209
|
-
var PLAYER_VERSION = true ? "1.2.0" : "unknown";
|
|
12210
|
-
var COMMIT = true ? "
|
|
12209
|
+
var PLAYER_VERSION = true ? "1.2.1-next.0" : "unknown";
|
|
12210
|
+
var COMMIT = true ? "8f4f6de5862bfef207b0a5640f5b8eefb6612d62" : "unknown";
|
|
12211
12211
|
var _Player = /*#__PURE__*/ function() {
|
|
12212
12212
|
function _Player2(config) {
|
|
12213
12213
|
var _this = this;
|