A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: edit user information cancel profile to html
shuaid9ec8b15f1b4
diff --git a/ui/src/pages/Users/Settings/Profile/index.tsx b/ui/src/pages/Users/Settings/Profile/index.tsxindex 2d703b9e..698a49b2 100644--- a/ui/src/pages/Users/Settings/Profile/index.tsx+++ b/ui/src/pages/Users/Settings/Profile/index.tsx@@ -2,7 +2,6 @@ import React, { FormEvent, useState, useEffect } from 'react';import { Form, Button, Stack, ButtonGroup } from 'react-bootstrap';import { Trans, useTranslation } from 'react-i18next';-import { marked } from 'marked';import MD5 from 'md5';import type { FormDataType } from '@/common/interface';@@ -205,7 +204,6 @@ const Index: React.FC = () => {bio: formData.bio.value,website: formData.website.value,location: formData.location.value,- bio_html: marked.parse(formData.bio.value),};modifyUserInfo(params)