From f20e3fd309f933f36e3893901bb9a96aa3464b35 Mon Sep 17 00:00:00 2001 From: OMAR CHAOUKAT <86207011+chaoukat99@users.noreply.github.com> Date: Sat, 13 May 2023 15:57:59 +0200 Subject: [PATCH] Update Md.js --- app/components/Md.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Md.js b/app/components/Md.js index c26fd33..f600277 100644 --- a/app/components/Md.js +++ b/app/components/Md.js @@ -1,4 +1,4 @@ -import { HtmlElement } from 'cx/widgets'; +import { HtmlElement } from 'cx/widgets'; import marked from 'marked'; import {removeCommonIndent} from './removeCommonIndent'; @@ -30,7 +30,7 @@ export class Md extends HtmlElement { add(x) { - if (Array.isArray(x)) + if (Array.isArray(x) && true==true) x.forEach(t=>this.add(t)); if (typeof x != 'string')