fix: tweet format

This commit is contained in:
Hongbo Wu
2023-06-26 21:11:04 +08:00
parent 15c964481a
commit 937be20928
2 changed files with 6 additions and 4 deletions

View File

@ -381,10 +381,7 @@ export class NitterHandler extends ContentHandler {
)
.join('\n')
tweetsContent += `
<p>${text}</p>
${includesHtml}
`
tweetsContent += `<p class="_omnivore_tweet_content">${text}</p>${includesHtml}`
}
const tweetUrl = `

View File

@ -586,3 +586,8 @@ on smaller screens we display the note icon
-webkit-line-clamp: 2;
overflow: hidden;
}
.article-inner-css ._omnivore_tweet_content {
white-space: pre-wrap;
overflow-wrap: break-word;
}