Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 604338617
  • Loading branch information
neuracr authored and copybara-github committed Feb 8, 2024
1 parent 3fa2a61 commit 5090e95
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/builders/html_sanitizer/html_sanitizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ export interface HtmlSanitizer {
/** Implementation for `HtmlSanitizer` */
export class HtmlSanitizerImpl implements HtmlSanitizer {
private changes: string[] = [];
constructor(private readonly sanitizerTable: SanitizerTable, token: object) {
constructor(
private readonly sanitizerTable: SanitizerTable,
token: object,
) {
ensureTokenIsValid(token);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
// AUTOGENERATED. DO NOT EDIT.

export class UrlTestVector {
constructor(public input: string, public expected: string) {}
constructor(
public input: string,
public expected: string,
) {}
}

export class UrlTestVectorOnDemandScheme {
Expand Down
5 changes: 4 additions & 1 deletion test/testing/testvectors/url_test_vectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
// AUTOGENERATED. DO NOT EDIT.

export class UrlTestVector {
constructor(public input: string, public expected: string) {}
constructor(
public input: string,
public expected: string,
) {}
}

export class UrlTestVectorOnDemandScheme {
Expand Down

0 comments on commit 5090e95

Please sign in to comment.