Skip to content

Allow a stream target for a text extension#1810

Merged
SimonCropp merged 1 commit into
mainfrom
text-extension-stream-target
Jul 21, 2026
Merged

Allow a stream target for a text extension#1810
SimonCropp merged 1 commit into
mainfrom
text-extension-stream-target

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Since conversion splitters were allowed for text extensions (#1778), a converter registered against a text extension could still not re-emit its source: the Target stream constructor threw for text extensions. eg Verify.ImageMagick returns the svg alongside the rendered png.

The stream is now read as text, applying the same newline fixing already used when a stream is read into a text target.

Since conversion splitters were allowed for text extensions (#1778), a
converter registered against a text extension could still not re-emit its
source: the Target stream constructor threw for text extensions. eg
Verify.ImageMagick returns the svg alongside the rendered png.

The stream is now read as text, applying the same newline fixing already
used when a stream is read into a text target.
@SimonCropp SimonCropp added this to the 31.27.0 milestone Jul 21, 2026
@SimonCropp
SimonCropp merged commit 7b3f20f into main Jul 21, 2026
7 checks passed
@SimonCropp
SimonCropp deleted the text-extension-stream-target branch July 21, 2026 11:10
This was referenced Jul 21, 2026
This was referenced Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant