OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/legacy/app/services/sanitize-html.service.ts

13 lines
300 B

import {openprojectLegacyModule} from "core-app/openproject-legacy-app";
export class SanitizeHtmlService {
constructor(readonly $sanitize:any) { }
public sanitize(string:string) {
return this.$sanitize(string);
}
}
openprojectLegacyModule.service('sanitizeHTML', SanitizeHtmlService);