mirror of
https://github.com/langgenius/dify.git
synced 2026-09-01 15:09:21 +08:00
feat(web): add ALLOW_INLINE_STYLES env var to opt-in inline CSS in Markdown rendering (#34719)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
546062d2cd
commit
0e0bb3582f
@@ -1176,6 +1176,11 @@ TEXT_GENERATION_TIMEOUT_MS=60000
|
||||
# Enable the experimental vinext runtime shipped in the image.
|
||||
EXPERIMENTAL_ENABLE_VINEXT=false
|
||||
|
||||
# Allow inline style attributes in Markdown rendering.
|
||||
# Enable this if your workflows use Jinja2 templates with styled HTML.
|
||||
# Only recommended for self-hosted deployments with trusted content.
|
||||
ALLOW_INLINE_STYLES=false
|
||||
|
||||
# Allow rendering unsafe URLs which have "data:" scheme.
|
||||
ALLOW_UNSAFE_DATA_SCHEME=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user