Fix Atom feed for comments

This PR fixes missing links and incorrect display issue numbers for issue notes and opened issues in dashboard Atom feed (#3967).
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.