@ecency/render-helper 2.5.16 → 2.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser/index.js
CHANGED
|
@@ -1700,7 +1700,7 @@ function linkify(content, forApp, renderOptions) {
|
|
|
1700
1700
|
if (userLower.indexOf("/") === -1 && isValidUsername(user)) {
|
|
1701
1701
|
if (!forApp) {
|
|
1702
1702
|
const avatarSrc = `${getProxyBase()}/u/${userLower}/avatar/small`;
|
|
1703
|
-
const html = `${preceedings}<a class="er-author er-author-link" href="/@${userLower}"><img class="er-author-link-image" src="${avatarSrc}" alt="${userLower}"
|
|
1703
|
+
const html = `${preceedings}<a class="er-author er-author-link" href="/@${userLower}"><img class="er-author-link-image" src="${avatarSrc}" alt="${userLower}"/>@${userLower}</a>`;
|
|
1704
1704
|
const placeholder = `\u200C${authorPlaceholders.length}\u200C`;
|
|
1705
1705
|
authorPlaceholders.push({ placeholder, html });
|
|
1706
1706
|
return placeholder;
|