Correction of tag injection for pictures.
This commit is contained in:
@@ -225,7 +225,7 @@ export class CreateUpdatePostComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
injectImage(pImageLink: string): void {
|
injectImage(pImageLink: string): void {
|
||||||
const imgTag = `[img src="${this.getLinkSrc(pImageLink)} /]`;
|
const imgTag = `[img src="${this.getLinkSrc(pImageLink)}" /]`;
|
||||||
this.injectElement(imgTag, imgTag.length);
|
this.injectElement(imgTag, imgTag.length);
|
||||||
this.imagesModal.hide();
|
this.imagesModal.hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user