diff --git a/src/pipes/parser/parser.ts b/src/pipes/parser/parser.ts index b4c68e5..7cf0324 100644 --- a/src/pipes/parser/parser.ts +++ b/src/pipes/parser/parser.ts @@ -17,7 +17,7 @@ export class ParserPipe implements PipeTransform { transform(value: string, ...args): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl { let hregex = /href="([\S]+)"/g; // value = value.replace(hregex, "class=\"ex-link\" href="); - value = value.replace(hregex, "onClick=\"window.open('$1', '_system', 'location=yes')\""); + value = value.replace(hregex, "onClick=\"window.open('$1', '_blank', 'location=yes')\""); return this._sanitizer.bypassSecurityTrustHtml(value); } }