LegalDocumentRenderer
Component Detail
Service Layer
medium complexity
Shared Component
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Converts structured legal document data into safe, well-formed HTML. Handles numbered clause formatting, definition lists, sub-clauses, and inline cross-references. Shared with the Privacy Policy page for consistent legal document presentation.
legal-document-renderer
Sources & reasoning
Listed explicitly in the Sales Website product description at line 224. Phase mapping: Sales Website scope appears in Fase 1 MVP at lines 335-338 → "MVP". A DPA is a GDPR Article 28 prerequisite for any SaaS platform processing personal data on behalf of customer organizations; all four target organizations are data controllers bound by GDPR.
-
docs/source/likeperson.md · line 224Privacy policy, Terms of Service, Data Processing Agreement, Cookie Policy
Responsibilities
- Render numbered clauses and sub-clauses with correct hierarchy
- Escape all user-visible content to prevent XSS
- Format definition terms and cross-reference links
- Apply consistent typography classes from the design system
Interfaces
renderDocument(doc: LegalDocument): string
renderSection(section: LegalSection): string
renderClause(clause: LegalClause): string