Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » ShipWorks 3

Post new topic   Reply to topic
Email template - Special Character in a url causing an error
View previous topic :: View next topic  
Author Message
frshjb373



Joined: 25 Nov 2011
Posts: 36

PostPosted: Thu Jul 26, 2012 12:03 pm    Post subject: Email template - Special Character in a url causing an error Reply with quote

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
View user's profile Visit poster's website
Chris Bohnemeier



Joined: 12 Jan 2011
Posts: 73

PostPosted: Tue Jul 31, 2012 7:14 am    Post subject: Reply with quote

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 &amp; in place of the ampersand.

Here is the updated link:

<p><a href="https://www.paypal.com/webapps/helpcenter/article/?currentIssueID=10568&amp;m=SRE" target="_blank" style="color:#01A38B">return form</a></p>
_________________
---------------
Chris Bohnemeier

Interapptive, Inc
Back to top
View user's profile
frshjb373



Joined: 25 Nov 2011
Posts: 36

PostPosted: Tue Jul 31, 2012 9:02 am    Post subject: Reply with quote

That did the trick. Thank you!
Back to top
View user's profile Visit poster's website
Chris Bohnemeier



Joined: 12 Jan 2011
Posts: 73

PostPosted: Tue Jul 31, 2012 9:04 am    Post subject: Reply with quote

Glad we could help. Please let us know if you have any other questions.
_________________
---------------
Chris Bohnemeier

Interapptive, Inc
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » ShipWorks 3 All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group