INFO:The & changes to & in a hyperlink
The ampersand (&) character changes to & in a hyperlink.
The "&" character is converted to the "&" entity name in order to adhere to the HTML specification. This conversion is seen in IE 5.
The "&" is commonly used in query strings in a hyperlink. The "&" should work fine. Alternately, you may be able to use a ";" instead of "&" in a query string. Check with your server's documentation.
For example, href="http://mypage.asp?a=1&b= 2" becomes href="http://mypage.asp?a=1&b=2".
See HTML 2.0
, which reads:
The URI from a query form submission can be used in a normal anchor style hyperlink. Unfortunately, the use of the "&" character to separate form fields interacts with its use in SGML attribute values as an entity reference delimiter. For example, the URI http://host/?x=1&y= 2 must be written <a href="http://host/?x=1&y= 2" or <a href="http://host/?x=1&y=2">. HTTP server implementors, and in particular, CGI implementors are encouraged to support the use of ";" in place of "&" to save users the trouble of escaping "&" characters this way.
eWebEditPro 2.1 and later optionally preserves the "&". Use the <preservechars> element in the configuration XML data. Because the configuration data is XML, you must use the entity name to represent the "&" character.
<preservechars value="&" />