don't insert empty img/a tags after cancel

resolves https://github.com/duckduckgo/community-platform/issues/44