© <%YEAR%> <%AUTHOR%>
Everything is fine with that. But when there is a space at the very end or several spaces anywhere, then you cannot compile Help2 format (VS help).
To reproduce, append one space at the end of copyright text:
"© <%YEAR%> <%AUTHOR%> "
Publish VS Help. You'll get an error for generated PROJECT_NAME.hxc file: XML syntax error: Reference to undefined entity 'nbsp'.
When you open the file, you can see that H&M inserted in it. It looks as follows for me:
Code: Select all
<HelpCollection DTDVersion="1.0" LangId="1033" Title="VSdocman Help" Copyright="© 2010 Helixoft " FileVersion="3.6.0">
This happens also in generated HxK file which uses XML syntax. If some of the keywords contain double spaces or space at the end then is added.