diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index c1f441246c..883ac0cc98 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -455,6 +455,7 @@ export default { whiteList: { 'background-color': true, 'text-align': true, + 'color': true, 'margin-top': true, 'margin-bottom': true, 'line-height': true, @@ -465,7 +466,8 @@ export default { }, whiteList: { ...xss.whiteList, - p: ['style'] + p: ['style'], + span: ['style'] } }) this.footContent = myXss.process(content)