@elmethis/core 0.5.7 → 0.5.8
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.
|
@@ -82,7 +82,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
loader: () => import("../table/ElmTableCell.vue.mjs"),
|
|
83
83
|
loadingComponent: ElmBlockFallback
|
|
84
84
|
});
|
|
85
|
-
const tokensToText = ({ tokens }) => tokens.map((token) => "text" in token ? token.text : token.raw).join("");
|
|
86
85
|
const renderByToken = ({ tokens }) => {
|
|
87
86
|
const results = [];
|
|
88
87
|
for (const token of tokens) {
|
|
@@ -176,7 +175,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
176
175
|
case "link":
|
|
177
176
|
results.push(
|
|
178
177
|
token.tokens != null && token.tokens.length !== 0 ? h(AsyncElmInlineText, {
|
|
179
|
-
text:
|
|
178
|
+
text: token.text,
|
|
180
179
|
href: token.href
|
|
181
180
|
}) : h(AsyncElmInlineText, { text: token.text, href: token.href })
|
|
182
181
|
);
|