PubMed URL incorrectly parsed in output filters

Using EndNote X1, I’ve been trying to export various lists of references as HTML, for incorporation into a website.  The URL field contains working addresses.  However, in the output file, the <a> tag around the URL is inserted midway through the address, instead of at the end.  this means the link doesn’t work.

Here’s an example:

<A HREF=“”></A>&db=PubMed&dopt=Citation&list_uids=

It appears that the ‘Retrieve’ keyword in the PubMed URL is causing a problem for the template.  I’ve tried a couple of different output styles and the same thing’s happened each time.