Anchored Image html tag for donate button in plugin description
My free plugin started doing well this month, and I would like to add a Paypal donate button in the plugin description page when opened from within IntelliJ.
I tried inserting Paypal's html code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" style="text-align: center;">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="BUTTONID">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
under plugin.xml/
<description><![CDATA[
but the formatting in the description page comes out totally messed up when I rebuild the plugin and install it from disk.
I also tried a simpler html version:
<a href="url-which-redirects-to-paypal-donation-page"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"/></a>
which kind of works but the anchor tag annoyingly surrounds the image with an ugly blue rectangle. Hardcoding the border to none under the anchor tag did not have any effect.
Is there a proper way to integrate a Paypal donate button under the plugin description page when accessed from IntelliJ? if not workaround suggestions would be equally appreciated.
Please sign in to leave a comment.