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')