Skip to content

chore: switch from readableText to readableTextIfPossible#119

Merged
nikitachapovskii-dev merged 2 commits into
masterfrom
chore/switch-to-readabletextifpossible
Jul 22, 2026
Merged

chore: switch from readableText to readableTextIfPossible#119
nikitachapovskii-dev merged 2 commits into
masterfrom
chore/switch-to-readabletextifpossible

Conversation

@nikitachapovskii-dev

Copy link
Copy Markdown
Collaborator

Enable fallbackToNone for the readable-text transformer, so it keeps the cleaned HTML when Readability isn't confident or fails, instead of returning an empty/over-stripped result.

  • accept readableTextIfPossible (canonical) and keep readableText as alias
  • document the behavior in the input schema description

Closes #108

@nikitachapovskii-dev
nikitachapovskii-dev marked this pull request as ready for review July 22, 2026 07:42
@nikitachapovskii-dev
nikitachapovskii-dev merged commit f3e7a88 into master Jul 22, 2026
2 checks passed
@nikitachapovskii-dev
nikitachapovskii-dev deleted the chore/switch-to-readabletextifpossible branch July 22, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from readableText to readableTextIfPossible

3 participants