Validating links to alternate designs

I am having trouble getting my html to validate. The link to my printer friendly version (an alternate design) has the following kind of link:


[codebox]http://www.domain.com/pagename?SQ_DESIGN_NAME=printfriendly&SQ_ACTION=set_design_name[/codebox]



It says it has a problem with the unencoded ampersand. Is there anything that can be done about this?

[quote]I am having trouble getting my html to validate. The link to my printer friendly version (an alternate design) has the following kind of link:


[codebox]http://www.domain.com/pagename?SQ_DESIGN_NAME=printfriendly&SQ_ACTION=set_design_name[/codebox]



It says it has a problem with the unencoded ampersand. Is there anything that can be done about this?[/quote]



If that code is not generated by matrix and you can change it, just replace the & with &

Okay, cool, just wasn't sure if that would mess anything up.

Ironically, we were talking about a situation in the office today where we want to use a Matrix-generated URL (from a keyword) in a query string and it was causing the same validation errors.


Although it's off-topic for this situation, hopefully soon we'll have a way to urlencode the return values of some of the URL keywords :smiley: