mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
feat: remove style tag when fetching url (#2913)
Some checks are pending
Deploy doc image by kubeconfig / build-fastgpt-docs-images (push) Waiting to run
Deploy doc image by kubeconfig / update-docs-image (push) Blocked by required conditions
Deploy doc image to vercel / deploy-production (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Some checks are pending
Deploy doc image by kubeconfig / build-fastgpt-docs-images (push) Waiting to run
Deploy doc image by kubeconfig / update-docs-image (push) Blocked by required conditions
Deploy doc image to vercel / deploy-production (push) Waiting to run
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Co-authored-by: zhenyiwang <zhenyiwang@intl.zju.edu.cn>
This commit is contained in:
parent
3f01cc9c63
commit
2a2b919daf
|
|
@ -20,7 +20,7 @@ export const cheerioToHtml = ({
|
|||
const selectDom = $(usedSelector);
|
||||
|
||||
// remove i element
|
||||
selectDom.find('i,script').remove();
|
||||
selectDom.find('i,script,style').remove();
|
||||
|
||||
// remove empty a element
|
||||
selectDom
|
||||
|
|
|
|||
Loading…
Reference in New Issue