mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-11 13:10:04 +00:00
fix for image url replacement
This commit is contained in:
parent
3530eef892
commit
3d93dbc575
1 changed files with 1 additions and 1 deletions
|
|
@ -769,7 +769,7 @@ function convertHTML(str) {
|
|||
}
|
||||
|
||||
function convertImgFilePaths(str) {
|
||||
return str.replace("img://", "/image_get?path=");
|
||||
return str.replace(/img:\/\//g, "/image_get?path=");
|
||||
}
|
||||
|
||||
export function convertIcons(str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue