diff --git a/api/configs/packaging/__init__.py b/api/configs/packaging/__init__.py
index fd3d6afb3a..25792cb84a 100644
--- a/api/configs/packaging/__init__.py
+++ b/api/configs/packaging/__init__.py
@@ -9,7 +9,7 @@ class PackagingInfo(BaseSettings):
CURRENT_VERSION: str = Field(
description="Dify version",
- default="0.15.3",
+ default="0.15.4",
)
COMMIT_SHA: str = Field(
diff --git a/docker/docker-compose-template.yaml b/docker/docker-compose-template.yaml
index c10c4d80d8..f968b0a4f7 100644
--- a/docker/docker-compose-template.yaml
+++ b/docker/docker-compose-template.yaml
@@ -2,7 +2,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
- image: langgenius/dify-api:0.15.3
+ image: langgenius/dify-api:0.15.4
restart: always
environment:
# Use the shared environment variables.
@@ -25,7 +25,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
- image: langgenius/dify-api:0.15.3
+ image: langgenius/dify-api:0.15.4
restart: always
environment:
# Use the shared environment variables.
@@ -47,7 +47,7 @@ services:
# Frontend web application.
web:
- image: langgenius/dify-web:0.15.3
+ image: langgenius/dify-web:0.15.4
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 67207fd466..74b2d4cc03 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -393,7 +393,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
- image: langgenius/dify-api:0.15.3
+ image: langgenius/dify-api:0.15.4
restart: always
environment:
# Use the shared environment variables.
@@ -416,7 +416,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
- image: langgenius/dify-api:0.15.3
+ image: langgenius/dify-api:0.15.4
restart: always
environment:
# Use the shared environment variables.
@@ -438,7 +438,7 @@ services:
# Frontend web application.
web:
- image: langgenius/dify-web:0.15.3
+ image: langgenius/dify-web:0.15.4
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
diff --git a/web/app/components/base/markdown.tsx b/web/app/components/base/markdown.tsx
index b26d9df30e..94ffb9ff3e 100644
--- a/web/app/components/base/markdown.tsx
+++ b/web/app/components/base/markdown.tsx
@@ -18,7 +18,7 @@ import ImageGallery from '@/app/components/base/image-gallery'
import { useChatContext } from '@/app/components/base/chat/chat/context'
import VideoGallery from '@/app/components/base/video-gallery'
import AudioGallery from '@/app/components/base/audio-gallery'
-import SVGRenderer from '@/app/components/base/svg-gallery'
+// import SVGRenderer from '@/app/components/base/svg-gallery'
import MarkdownButton from '@/app/components/base/markdown-blocks/button'
import MarkdownForm from '@/app/components/base/markdown-blocks/form'
@@ -118,13 +118,13 @@ const CodeBlock: CodeComponent = memo(({ inline, className, children, ...props }
)
}
- else if (language === 'svg' && isSVG) {
- return (
-
-
-
- )
- }
+ // else if (language === 'svg' && isSVG) {
+ // return (
+ //
+ //
+ //
+ // )
+ // }
else {
return (
{
}
}
+function escapeSVGTags(htmlString: string): string {
+ return htmlString.replace(/(