diff --git a/backend/src/ingestion/adapters/nitter.ts b/backend/src/ingestion/adapters/nitter.ts index a13b3d1..1234ca8 100644 --- a/backend/src/ingestion/adapters/nitter.ts +++ b/backend/src/ingestion/adapters/nitter.ts @@ -11,7 +11,7 @@ import type { Source, TweetMediaItem, QuotedTweet } from '../../storage/db/types import type { SourceAdapter, FetchedItem } from './base.js'; import { logger } from '../../storage/db/logs.js'; import { getSettings } from '../../storage/db/settings.js'; -import { cleanHtml, toSummary } from '../clean.js'; +import { cleanHtml } from '../clean.js'; /** fxtwitter caps a tweet at 4 attached photos/videos/gifs, in tweet display order. */ const MAX_TWEET_MEDIA = 4; @@ -136,7 +136,7 @@ function extractQuotedTweet(descriptionHtml: string): QuotedTweet | null { return { authorName: authorMatch[1].trim(), authorHandle: authorMatch[2].trim(), - text: toSummary(cleanHtml(beforeFooter), 240), + text: cleanHtml(beforeFooter), imageUrl: extractImageUrl(inner), link: linkMatch[1] }; diff --git a/frontend/src/lib/components/TweetCard.svelte b/frontend/src/lib/components/TweetCard.svelte index 3435eda..1fb46f6 100644 --- a/frontend/src/lib/components/TweetCard.svelte +++ b/frontend/src/lib/components/TweetCard.svelte @@ -253,10 +253,6 @@ line-height: 1.45; color: var(--text-secondary); white-space: pre-line; - display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; - overflow: hidden; } .quoted-img { width: 100%;