Compare commits

..

1 Commits

Author SHA1 Message Date
chaim 763638abd5 fix: add non-breaking space after checkbox characters
PHPWord's TemplateProcessor loses regular spaces between placeholder
replacement values and adjacent text in RTL documents. Using NBSP
(\u00A0) after ☑/☐ ensures Word preserves the spacing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 21:21:44 +00:00
2 changed files with 3 additions and 3 deletions
@@ -216,8 +216,8 @@ class DirectAccessReportGenerator
private function addCheckboxData(array &$data, array $params): void
{
$CHK = '☑';
$UNCHK = '☐';
$CHK = "\u{00A0}";
$UNCHK = "\u{00A0}";
$urgency = $params['urgencyLevel'] ?? '';
$data['chk_urgency_regular'] = ($urgency === 'רגיל') ? $CHK : $UNCHK;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "LegalAssistance",
"version": "2.0.5",
"version": "2.0.6",
"acceptableVersions": [">=8.0.0"],
"php": [">=8.1"],
"releaseDate": "2026-04-09",