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 && 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>