utils: html_xss(): Add ' and &

They REALLY should have been there from the beginning...
Этот коммит содержится в:
Albert S. 2021-06-15 18:21:47 +02:00
родитель a930b7aea6
Коммит 88816a4015
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -46,6 +46,12 @@ std::string utils::html_xss(std::string_view str)
case '%': case '%':
result += "%"; result += "%";
break; break;
case '\'':
result += "'";
break;
case '&':
result += "&";
break;
default: default:
result += c; result += c;
} }