| View previous topic :: View next topic |
| Author |
Message |
frshjb373
Joined: 25 Nov 2011 Posts: 36
|
Posted: Thu Jul 26, 2012 12:03 pm Post subject: Email template - Special Character in a url causing an error |
|
|
I'm trying to put an href url link to a PayPal page in a ShipWorks template and I'm getting the following error:
Here's the link I'm trying to use:
| Code: | | <p><a href="https://www.paypal.com/webapps/helpcenter/article/?currentIssueID=10568&m=SRE" target="_blank" style="color:#01A38B">return form</a></p> |
Here's the error:
XSLT compile error. '=' is an unexpected token. The expected token is ';'.
Line: 53 , Position: 94
Any help is much appreciated!
Thank you
Josh |
|
| Back to top |
|
Chris Bohnemeier
Joined: 12 Jan 2011 Posts: 73
|
Posted: Tue Jul 31, 2012 7:14 am Post subject: |
|
|
The issue here is with the '&' that is in the URL. This is an entity that is already reserved in HTML. You will want to use & in place of the ampersand.
Here is the updated link:
<p><a href="https://www.paypal.com/webapps/helpcenter/article/?currentIssueID=10568&m=SRE" target="_blank" style="color:#01A38B">return form</a></p> _________________ ---------------
Chris Bohnemeier
Interapptive, Inc |
|
| Back to top |
|
frshjb373
Joined: 25 Nov 2011 Posts: 36
|
Posted: Tue Jul 31, 2012 9:02 am Post subject: |
|
|
| That did the trick. Thank you! |
|
| Back to top |
|
Chris Bohnemeier
Joined: 12 Jan 2011 Posts: 73
|
Posted: Tue Jul 31, 2012 9:04 am Post subject: |
|
|
Glad we could help. Please let us know if you have any other questions. _________________ ---------------
Chris Bohnemeier
Interapptive, Inc |
|
| Back to top |
|
|