• Resolved nemrac99

    (@nemrac99)


    There is another posting here called “Phantom br” which has been marked as resolved, but I’m here to tell you that, indeed, your code is adding the breaks .

    In paypal-button.php, the first 5 lines look like this:

    <!-- Begin PayPal Donations by http://johansteen.se/ -->
    <form action="<?php echo apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr'); ?>" method="post" id="PayPalDonationForm">
        <div class="paypal-donations">
            <input type="hidden" name="cmd" value="_donations" />
            <input type="hidden" name="business" value="<?php echo $pd_options['paypal_account']; ?>" />

    Changed to this, the Phantom br’s magically go away:

    <!-- Begin PayPal Donations by http://johansteen.se/ -->
    <form action="<?php echo apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr'); ?>" method="post" id="PayPalDonationForm">
    <div class="paypal-donations">
    <input type="hidden" name="cmd" value="_donations" /><input type="hidden" name="business" value="<?php echo $pd_options['paypal_account']; ?>" /><?php

    Something in the indentation was causing the parser to render br tags after each of the first two hidden params. (cmd & business).

    Cheers!

    https://wordpress.org/plugins/paypal-donations/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Return of the Phantom br’ is closed to new replies.