From a3335295fe8ac1acdb4b55324812c70af1e43b47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 17 Sep 2015 15:16:32 +0200 Subject: [PATCH] Auftrags-Controller: HTML-formatierte Bemerkungen richtig in PDF umwandeln. --- SL/Controller/Order.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 8b4733223..48ebf3067 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -124,6 +124,11 @@ sub action_create_pdf { $pdf = SL::Helper::CreatePDF->create_pdf( template => SL::Helper::CreatePDF->find_template(name => $print_form->{formname}), variables => $print_form, + variable_content_types => { + longdescription => 'html', + partnotes => 'html', + notes => 'html', + }, ); 1; } || push @errors, ref($EVAL_ERROR) eq 'SL::X::FormError' ? $EVAL_ERROR->getMessage : $EVAL_ERROR; -- 2.20.1