Skip to content

Commit

Permalink
Fix scttcper#163 permit all html tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ErwSim committed Jul 7, 2019
1 parent 814d76e commit 03027ce
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 03027ce

Please sign in to comment.