Version: 1.0.0-beta.11.0.0-beta.1.0.11.0.0-beta.1.0.21.0.0-beta.1.0.31.0.0-beta.1.0.41.0.0-beta.1.1.01.0.0-beta.1.1.11.0.0-beta.1.1.21.0.0-beta.1.1.31.0.0-beta.1.2.01.0.0-beta.1.2.11.0.0-beta.1.2.21.0.0-beta.1.2.31.0.0-beta.1.2.41.0.0-beta.1.2.51.0.0-beta.1.2.61.0.0-beta.3.0.01.0.0-beta.3.0.11.0.0-beta.3.0.21.0.0-beta.3.0.31.0.0-beta.3.0.41.0.0-rc.1.0.01.0.0-rc.1.0.11.0.0-rc.1.0.21.0.01.1.01.1.11.2.01.3.01.3.11.4.01.5.01.5.11.5.21.5.31.5.41.6.01.6.11.7.01.7.11.7.21.8.01.9.01.9.11.10.01.11.01.12.01.13.01.13.11.14.01.14.11.14.21.14.31.15.01.15.1
/**
* Default Html Sanitizer to prevent script injection.
*/
export class HTMLSanitizer {
* Sanitizes the provided input.
* @param input The input to be sanitized.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
sanitize(input): any {
throw new Error(`To protect the application against a wide variety of sophisticated XSS attacks.
Please see https://aurelia.io/docs/binding/basics#element-content for instructions on how to use a secure solution like DOMPurify or sanitize-html.`);
}