src/dazzle_back/runtime/richtext_processor.py¶
Generated: 2026-03-30T04:38:47.991531+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Rich text processing for DNR.
Provides markdown processing, HTML sanitization, and inline image handling.
Key Exports¶
RichTextProcessingErrorMarkdownProcessorHTMLProcessorRichTextServiceis_availablerender_htmlprocess_inline_imagesextract_texttruncatecleanextract_textrender_htmlprocess_contentextract_textpreview_Sanitizerreplace_matchhandle_starttaghandle_endtaghandle_data
Dependencies¶
Imports¶
__future__.annotationsretyping.TYPE_CHECKINGfile_storage.StorageBackendhtmlhtml.parser.HTMLParsermarkdownmarkdownbleachhtmlbase64io.BytesIOuuid.uuid4
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Assert: self.storage is not None # checked at method entry
Tests¶
tests/unit/test_richtext_processor.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.