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 { const result = await this.customMarkdownRenderer(text) if (result instanceof HTMLElement) { - html = '' - const wrapperElement = this.previewElement.nativeElement as HTMLElement wrapperElement.innerHTML = '' wrapperElement.appendChild(result)