diff --git a/CHANGELOG.md b/CHANGELOG.md index 813e79f..4b3f9ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fixed table formatting and border in PDF - Fixed table cell size in PDF generation +- Fixed Change and Problem description exported as a single unstructured text block ## [4.0.2] - 2025-09-30 diff --git a/inc/change.class.php b/inc/change.class.php index 2d6a8a3..cd1b242 100644 --- a/inc/change.class.php +++ b/inc/change.class.php @@ -299,7 +299,7 @@ public static function pdfMain(PluginPdfSimplePDF $pdf, Change $job) $pdf->displayText( '' . sprintf(__('%1$s: %2$s') . '', __('Description'), ''), - Toolbox::stripTags($job->fields['content']), + $job->fields['content'], 1, ); diff --git a/inc/problem.class.php b/inc/problem.class.php index f2bf915..ec4de9e 100644 --- a/inc/problem.class.php +++ b/inc/problem.class.php @@ -299,7 +299,7 @@ public static function pdfMain(PluginPdfSimplePDF $pdf, Problem $job) $pdf->displayText( '' . sprintf(__('%1$s: %2$s'), __('Description') . '', ''), - Toolbox::stripTags($job->fields['content']), + $job->fields['content'], 1, );