small refactorings of clipper code

This commit is contained in:
zadam
2023-07-09 22:58:34 +02:00
parent 639f80b603
commit c3f8975166
2 changed files with 42 additions and 56 deletions

View File

@@ -57,5 +57,7 @@ function sanitize(dirtyHtml) {
module.exports = {
sanitize,
sanitizeUrl
sanitizeUrl: url => {
return sanitizeUrl(url).trim();
}
};