Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

857 B
Raw Blame

PDF export now parses caller-supplied custom CSS through the same SSRF-guarded url_fetcher as the rendered document. Only the references WeasyPrint resolves while parsing a stylesheet (@import and @color-profile src) were exposed to WeasyPrint's default, unguarded fetcher before this fix; property-level url() values (e.g. background-image) were already resolved through the same guarded fetcher when the document renders. A parse-time fetch the guarded fetcher refuses (e.g. a blocked @color-profile src) or that fails while it runs, or a relative @import WeasyPrint cannot resolve without a base URL (a ValueError), now drops the custom stylesheet and renders with default styling instead of aborting the export; a data: URL inside custom CSS is refused like any other non-http(s) scheme, so a data: @color-profile src drops the stylesheet the same way.