From 3e18f10ac59e979939cdde069f3469f4d4a6f727 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 2 Sep 2018 10:50:55 +0200 Subject: [PATCH] Correction of tag injection for pictures. --- .../src/app/posts/create-update/create-update-post.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ts/src/app/posts/create-update/create-update-post.component.ts b/src/main/ts/src/app/posts/create-update/create-update-post.component.ts index af90b11..8d3a55c 100755 --- a/src/main/ts/src/app/posts/create-update/create-update-post.component.ts +++ b/src/main/ts/src/app/posts/create-update/create-update-post.component.ts @@ -225,7 +225,7 @@ export class CreateUpdatePostComponent implements OnInit { } injectImage(pImageLink: string): void { - const imgTag = `[img src="${this.getLinkSrc(pImageLink)} /]`; + const imgTag = `[img src="${this.getLinkSrc(pImageLink)}" /]`; this.injectElement(imgTag, imgTag.length); this.imagesModal.hide(); }