fix: add xml:space=preserve to all w:t elements in generated DOCX
PHPWord's TemplateProcessor strips whitespace from <w:t> elements that lack xml:space="preserve". Post-process the output DOCX to add this attribute, preventing words from sticking together (e.g. בהולמועדים, לקוחנחוץ). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "LegalAssistance",
|
||||
"version": "2.0.7",
|
||||
"version": "2.0.8",
|
||||
"acceptableVersions": [">=8.0.0"],
|
||||
"php": [">=8.1"],
|
||||
"releaseDate": "2026-04-09",
|
||||
|
||||
Reference in New Issue
Block a user