Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpham-axonivy committed Dec 26, 2024
1 parent d777f4e commit 726878e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import {
Signal,
WritableSignal,
computed,
signal,
SecurityContext
signal
} from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
Expand Down Expand Up @@ -138,7 +137,6 @@ export class ReleasePreviewComponent {
const md = MarkdownIt();
md.use(full);
const result = md.render(value);
this.sanitizer.sanitize(SecurityContext.HTML, result);
return this.sanitizer.bypassSecurityTrustHtml(result);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HttpClient } from '@angular/common/http';
import { inject, Injectable } from '@angular/core';
import { Observable, of } from 'rxjs';
import { Observable } from 'rxjs';
import { environment } from '../../../environments/environment';
import { ReleasePreviewData } from '../../shared/models/release-preview-data.model';
@Injectable({
Expand Down

0 comments on commit 726878e

Please sign in to comment.