odaptos_design_system 2.0.348 → 2.0.349
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/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -265,7 +265,9 @@ style_inject_es_default(css_248z$82);
|
|
|
265
265
|
* Supports: **bold**, *italic*, __underline__ (or <u>underline</u>), `code`, line breaks, and simple lists.
|
|
266
266
|
*/
|
|
267
267
|
const renderInlineMarkdown = (rawText) => {
|
|
268
|
-
if (
|
|
268
|
+
if (rawText === null || rawText === void 0) return rawText;
|
|
269
|
+
if (typeof rawText !== "string") return rawText;
|
|
270
|
+
if (rawText.length === 0) return rawText;
|
|
269
271
|
const renderCode = (text) => {
|
|
270
272
|
return text.split(/`([^`]+)`/g).map((part, index) => {
|
|
271
273
|
if (!(index % 2 === 1)) return part;
|