soumaeda 2 лет назад
Родитель
Сommit
7866a04f3a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/server/service/search.ts

+ 1 - 1
apps/app/src/server/service/search.ts

@@ -25,7 +25,7 @@ const logger = loggerFactory('growi:service:search');
 const nonNullable = <T>(value: T): value is NonNullable<T> => value != null;
 
 // options for filtering xss
-// not change whitelist becouse of xss
+// Do not change the property key name to 'whitelist" because it depends on the 'xss' library
 const filterXssOptions = {
   whiteList: {
     em: ['class'],