Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
fix: #163 permit all html tags (#165)
Browse files Browse the repository at this point in the history
Closes #163
  • Loading branch information
ErwSim authored and scttcper committed Jul 7, 2019
1 parent 814d76e commit f295d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/csv.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';

import { buildURI, HeaderObj } from './util';

@Directive({ selector: 'a[csvLink]' })
@Directive({ selector: '[csvLink]' })
export class CsvDirective implements OnChanges {
/** the body of the csv */
@Input() data: string | string[][] | { [key: string]: string }[] | any[] = [];
Expand Down

0 comments on commit f295d88

Please sign in to comment.