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 CHANGED
@@ -319,7 +319,9 @@ style_inject_es_default(css_248z$82);
319
319
  * Supports: **bold**, *italic*, __underline__ (or <u>underline</u>), `code`, line breaks, and simple lists.
320
320
  */
321
321
  const renderInlineMarkdown = (rawText) => {
322
- if (!rawText) return rawText;
322
+ if (rawText === null || rawText === void 0) return rawText;
323
+ if (typeof rawText !== "string") return rawText;
324
+ if (rawText.length === 0) return rawText;
323
325
  const renderCode = (text) => {
324
326
  return text.split(/`([^`]+)`/g).map((part, index) => {
325
327
  if (!(index % 2 === 1)) return part;