The DevCenter has moved!

The Developer Center has a new home, developer.ektron.com. The site you are currently viewing is available as a read-only archive.
Things to note:
  1. Your username & password is the same on the new site, developer.ektron.com
  2. Going forward, please use the new URL, developer.ektron.com
  3. The old discussion forums and old KB articles are still available as an archive (read-only)

Ektron Knowledge Base

The Knowledge Base has thousands of articles describing open and past issues and providing answers to frequently asked questions.

Hover the mouse over to the side bar to open a side menu and expend a node for a list of articles.

INFO:The & changes to & in a hyperlink

Applies To:
eWebEditPro
Summary:

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 footnote 26 , 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&#38;y= 2" or <a href="http://host/?x=1&amp;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.

<clean ...>
<preservechars value="&amp;" />
:
</clean>