fix(xiaohongshu): fix broken img tag in user notes description (#21638)

This commit is contained in:
humgent
2026-04-06 19:43:46 +08:00
committed by GitHub
parent a99452b197
commit 8ac41e7a39
+1 -1
View File
@@ -103,7 +103,7 @@ async function getUserFeeds(url: string, category: string) {
title: noteCard.displayTitle,
link: new URL(noteCard.noteId || id, url).toString(),
guid: noteCard.displayTitle,
description: `<img src ="${noteCard.cover.infoList.pop().url} width="${noteCard.cover.width}" height="${noteCard.cover.height}"><br>${noteCard.displayTitle}`,
description: `<img src="${noteCard.cover.infoList.pop().url}" width="${noteCard.cover.width}" height="${noteCard.cover.height}"><br>${noteCard.displayTitle}`,
author: noteCard.user.nickname,
upvotes: noteCard.interactInfo.likedCount,
}))