@ecency/render-helper 2.2.3 → 2.2.4
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/package.json
CHANGED
package/src/methods/a.method.ts
CHANGED
|
@@ -138,7 +138,7 @@ export function a(el: HTMLElement, forApp: boolean, webp: boolean): void {
|
|
|
138
138
|
if (
|
|
139
139
|
(tpostMatch && WHITE_LIST.includes(tpostMatch[1].substring(1))) || (tpostMatch && tpostMatch.length === 4 && tpostMatch[1].indexOf('/') !== 0)
|
|
140
140
|
) {
|
|
141
|
-
if (['wallet', 'feed', 'followers', 'following', 'points', 'communities', 'posts', 'blog', 'comments', 'replies', 'settings'].includes(tpostMatch[3])) {
|
|
141
|
+
if (['wallet', 'feed', 'followers', 'following', 'points', 'communities', 'posts', 'blog', 'comments', 'replies', 'settings', 'engine'].includes(tpostMatch[3])) {
|
|
142
142
|
el.setAttribute('class', 'markdown-profile-link')
|
|
143
143
|
const author = tpostMatch[2].replace('@', '').toLowerCase()
|
|
144
144
|
const section = tpostMatch[3]
|
|
@@ -205,7 +205,7 @@ export function a(el: HTMLElement, forApp: boolean, webp: boolean): void {
|
|
|
205
205
|
if (
|
|
206
206
|
(cpostMatch && cpostMatch.length === 3 && cpostMatch[1].indexOf('@') === 0)
|
|
207
207
|
) {
|
|
208
|
-
if (['wallet', 'feed', 'followers', 'following', 'points', 'communities', 'posts', 'blog', 'comments', 'replies', 'settings'].includes(cpostMatch[2])) {
|
|
208
|
+
if (['wallet', 'feed', 'followers', 'following', 'points', 'communities', 'posts', 'blog', 'comments', 'replies', 'settings', 'engine'].includes(cpostMatch[2])) {
|
|
209
209
|
el.setAttribute('class', 'markdown-profile-link')
|
|
210
210
|
const author = cpostMatch[1].replace('@', '').toLowerCase()
|
|
211
211
|
const section = cpostMatch[2]
|