chore: bump version to 0.8.95 and update legal documents features
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 15s
Test Suite / playwright-tests (push) Successful in 56s
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 15s
Test Suite / playwright-tests (push) Successful in 56s
- Updated app version to 0.8.95 with a new build date of 2026-05-12. - Enhanced legal documents functionality to support section numbering and Markdown formatting in the output. - Updated dependencies in package.json to include 'marked' and 'react-markdown'. - Added new CSS styles for legal document presentation. - Refactored PDF generation logic to incorporate new metadata and improved document structure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
04663e090a
commit
81b9e8f601
7 files changed
+533
-163
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import ReactMarkdown from 'react-markdown'
|
||||
import remarkBreaks from 'remark-breaks'
|
||||
|
||||
/**
|
||||
* Rechtstext-Absatz aus Markdown (ohne Roht-HTML; Links mit target=_blank).
|
||||
*/
|
||||
export default function LegalDocumentBody({ content, muted }) {
|
||||
if (content == null || content === '') return null
|
||||
return (
|
||||
<div className={`legal-doc-body ${muted ? 'legal-doc-body--muted' : ''}`}>
|
||||
<ReactMarkdown
|
||||
remarkPlugins={[remarkBreaks]}
|
||||
components={{
|
||||
a: ({ href, children }) => (
|
||||
<a href={href} target="_blank" rel="noopener noreferrer">
|
||||
{children}
|
||||
</a>
|
||||
),
|
||||
}}
|
||||
>
|
||||
{content}
|
||||
</ReactMarkdown>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user