Skip to content

Commit

Permalink
Merge pull request #13219 from jhcpeixoto/master
Browse files Browse the repository at this point in the history
πŸš€ chore(menu.ts): export SafeHtmlPipe class to be able to use it
  • Loading branch information
cetincakiroglu authored Jun 17, 2023
2 parents 47aaf6b + c5fc817 commit cd8122e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
@Pipe({
name: 'safeHtml'
})
class SafeHtmlPipe implements PipeTransform {
export class SafeHtmlPipe implements PipeTransform {
constructor(@Inject(PLATFORM_ID) private readonly platformId: any, private readonly sanitizer: DomSanitizer) {}

public transform(value: string): SafeHtml {
Expand Down

1 comment on commit cd8122e

@vercel
Copy link

@vercel vercel bot commented on cd8122e Jun 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.