From 7cce96652ae13a3f4bbc313e055ac4840a35fe2a Mon Sep 17 00:00:00 2001
From: Chawye Hsu <chawyehsu@hotmail.com>
Date: Sat, 26 Dec 2020 21:56:02 +0800
Subject: [PATCH] fix: correct HTML_TPL_A_ATTR on avatarEl (#58)

---
 src/disqus.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/disqus.js b/src/disqus.js
index d07ba9a..a8ae091 100644
--- a/src/disqus.js
+++ b/src/disqus.js
@@ -484,7 +484,7 @@ function DisqusJS(config) {
                             <a href="${data.comment.author.profileUrl}" ${HTML_TPL_A_ATTR}>${data.comment.author.name}</a>
                         </span>
                         */
-                        data.comment.avatarEl = `<a href="${data.comment.author.profileUrl}"><img src="${replaceDisquscdn(data.comment.author.avatar.cache)}" ${HTML_TPL_A_ATTR}></a>`
+                        data.comment.avatarEl = `<a href="${data.comment.author.profileUrl}" ${HTML_TPL_A_ATTR}><img src="${replaceDisquscdn(data.comment.author.avatar.cache)}"></a>`
                         data.comment.authorEl = `<span class="dsqjs-post-author"><a href="${data.comment.author.profileUrl}" ${HTML_TPL_A_ATTR}>${data.comment.author.name}</a></span>`
                     } else {
                         data.comment.avatarEl = `<img src="${replaceDisquscdn(data.comment.author.avatar.cache)}">`