From 01f5f68f551ae1a2155684d14ef873f55b0bd2d6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 5 Jan 2021 17:21:21 +0800 Subject: [PATCH] Roo/bootstrap/Markdown.js --- Roo/bootstrap/Markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Markdown.js b/Roo/bootstrap/Markdown.js index f68278082f..86d1900cbb 100644 --- a/Roo/bootstrap/Markdown.js +++ b/Roo/bootstrap/Markdown.js @@ -62,7 +62,7 @@ Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, { updateMarkdown : function() { if (this.getValue() == '') { - this.markdownEl.dom.innerHTML = String.format('{0}', this.placeholder); + this.markdownEl.dom.innerHTML = String.format('{0}', this.placeholder || ''); return; } var v = this.getValue(); -- 2.39.2