Mercurial > hg > nginx-site
view xsls/donate.xsls @ 1082:c3a1cf38f19e
Added explicit X:text to avoid spurious whitespaces.
While use of XSLScript produces no trailing whitespace and resulting
link is correct, it's believed that this is by chance. XSLT produced
with perl-based XSLScript replacement is slightly different (trailing
whitespace after "./" isn't stripped), and X:text is required to produce
proper output.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 27 Feb 2014 18:07:35 +0400 |
parents | 91d9e21ccecd |
children |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> X:stylesheet { X:template = "paypal" { <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick" /> <input type="hidden" name="hosted_button_id" value="ZJK5JR3ZSBUFC" /> <input type="image" border="0" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="PayPal - The safer, easier way to pay online!" /> <img src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" alt="" border="0" width="1" height="1" /> </form> } }