ssh – scp error: yntax error near the unexpected token `newline & # 39;

I use scp to copy a file to my local machine. The file is an html file and I think the error is due to html markup because the error is as follows:

    syntax error near unexpected token `newline & # 39;
/home/admin/web/emman.onl/document_errors/50x.html-old: line 1: `& # 39;

How can I avoid such an error?