mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
captive: Escape any special characters in title on PDF vouchers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -757,7 +757,7 @@ sub generate_pdf() {
|
||||
$f_subheadline->translate($cx, ($y + $h - $cy) / 2.4 + $cy);
|
||||
|
||||
if ($settings{'TITLE'}) {
|
||||
$f_headline->text_center($settings{'TITLE'});
|
||||
$f_headline->text_center(decode("utf8", $settings{'TITLE'}));
|
||||
$f_subheadline->text_center(decode("utf8", $Lang::tr{'Captive WiFi coupon'}));
|
||||
} else {
|
||||
$f_headline->text_center(decode("utf8", $Lang::tr{'Captive WiFi coupon'}));
|
||||
|
||||
Reference in New Issue
Block a user