aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/shared/shared-forms/markdown-textarea.component.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.ts b/client/src/app/shared/shared-forms/markdown-textarea.component.ts
index 8f51d47df..80ca6690f 100644
--- a/client/src/app/shared/shared-forms/markdown-textarea.component.ts
+++ b/client/src/app/shared/shared-forms/markdown-textarea.component.ts
@@ -132,8 +132,6 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit {
132 const result = await this.customMarkdownRenderer(text) 132 const result = await this.customMarkdownRenderer(text)
133 133
134 if (result instanceof HTMLElement) { 134 if (result instanceof HTMLElement) {
135 html = ''
136
137 const wrapperElement = this.previewElement.nativeElement as HTMLElement 135 const wrapperElement = this.previewElement.nativeElement as HTMLElement
138 wrapperElement.innerHTML = '' 136 wrapperElement.innerHTML = ''
139 wrapperElement.appendChild(result) 137 wrapperElement.appendChild(result)