Index: signup_pay.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/signup_pay/signup_pay.module,v
retrieving revision 1.2.2.19
diff -u -r1.2.2.19 signup_pay.module
--- signup_pay.module	24 Jun 2008 00:22:09 -0000	1.2.2.19
+++ signup_pay.module	3 Aug 2008 21:18:53 -0000
@@ -409,7 +409,7 @@
     '#title'         => t('Name of payer'),
     '#size'          => 60,
     '#maxlength'     => 60,
-    '#default_value' => $row->name,
+    '#default_value' => htmlspecialchars_decode($row->name, ENT_QUOTES),
     '#description'   => t('Name of person or business paying, as it appears on the invoice.'),
   );
   $form['mail'] = array(
@@ -576,8 +576,8 @@
     $node = node_load($row->nid);
     $output = t($receipt, array(
       '@mail'   => $row->mail,
-      '@title'  => $node->title,
-      '@name'   => $row->invoice_name,
+      '@title'  => htmlspecialchars_decode($node->title, ENT_QUOTES),
+      '@name'   => htmlspecialchars_decode($row->invoice_name, ENT_QUOTES),
       '@amount' => _signup_pay_format_amount($row->amount, $row->currency),
       '@method' => $methods[$row->method_id],
       '@date'   => format_date($row->time_paid, 'custom', 'Y-m-d'),

