See screenshot, produced by following code:

  print 'We would really like a 10 yen donation ' . lm_paypal_donate(10, 'JPY', 'donation to example.com') .'<br>';

Comments

lyricnz’s picture

Caused by the following code:

      $form['amount_display'] = array(
        '#type' => 'markup',
        '#value' => '<p>'.t('Proceed with your !price payment', array(
          '!price' => theme('lm_paypal_amount', $valid_amount, $currency, TRUE))).'</p>',
      );

Where $textual_currency will already contain html-entities for some currencies. Since this doesn't come from end-users, it's okay to use !currency here.

lyricnz’s picture

StatusFileSize
new928 bytes
new4.49 KB

See attached patch. Now output looks like attached image.

Trivial. Applyinh now.

lyricnz’s picture

Status: Active » Fixed

Applied. Also fixed some language in the same message.
http://drupal.org/cvs?commit=192780

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

manoloka’s picture

I've got the exactly same problem but with Pound Sterling instead of Yen.

I'm using the latest 6 dev version (2009-Apr-08),

It doesn't seem that this patch applies here anymore.

Any suggestions?

Thanks