Welcome

Login to contribute. Register if you haven't yet.

Support Options

1. Search this site.
2. Make or vote for a Suggestion.
3. Post to Community Support.
3. Contact EditMe Support staff.

Stay Informed

Keep informed of product changes, tutorials and tips via EditMe's Blog and monthly newsletter.

What does the message "The entity name must immediately follow the '&' in the entity reference." mean?

You're editing a scripted page and get this message when saving:

The entity name must immediately follow the '&' in the entity reference.

This message is complaining about an unescaped & character somewhere in your code. This can happen if you use the && operator in an attribute script, as in this example:

<div editme="if user.isLoggedIn && page.isScript"> ... </div>

For the scripted page to be valid XML, the && must be escaped like this:

<div editme="if user.isLoggedIn &amp;&amp; page.isScript"> ... </div>

You can use && in code within a <script type="text/vnd.editme.js">...</script> tag, but only if you place the code within a CDATA node, which is always recommended. Here is a properly formatted server-side script tag:

<script type="text/vnd.editme.js"><![CDATA[
// code goes here
]]></script>