mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-07 09:01:33 +00:00
fix: resolve relative image paths in HTML files
- Add HtmlRenderer component to handle relative image paths in HTML files - Convert relative image paths to absolute paths based on HTML file location - Load images as data URLs for proper rendering - Add DOMPurify for HTML sanitization - Preserve original img tag format (self-closing or not) Fixes issue where images with relative paths (e.g., src="ticket_volume_by_area.png") in HTML files were not rendering correctly.
This commit is contained in:
parent
aa0597bcff
commit
30ee15d754
1 changed files with 877 additions and 582 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue