Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fall back to content if excerpt is unusable #697

Open
sybrew opened this issue Nov 21, 2024 · 0 comments
Open

Fall back to content if excerpt is unusable #697

sybrew opened this issue Nov 21, 2024 · 0 comments
Assignees
Milestone

Comments

@sybrew
Copy link
Owner

sybrew commented Nov 21, 2024

After we parse the HTML tags from the excerpt, we may end up with unusable content. Then, no description will be generated at all.

We should consider falling back to the content instead. The current behavior is confusing.

Adjusting this does increase load times, but the frequency of this issue should render that negligible.

We should not concatenate the content to the excerpt; this could lead to incoherent sentence flow.

@sybrew sybrew added this to the 5.1.1 milestone Nov 21, 2024
@sybrew sybrew self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant