Skip to content

fix: treat * as alias for response <body> too#22

Closed
rooney wants to merge 1 commit intocodepilotsf:mainfrom
rooney:fix-#20-star-means-body
Closed

fix: treat * as alias for response <body> too#22
rooney wants to merge 1 commit intocodepilotsf:mainfrom
rooney:fix-#20-star-means-body

Conversation

@rooney
Copy link
Copy Markdown
Contributor

@rooney rooney commented Mar 17, 2026

Alternative fix for #20

This one fixes it by treating * as alias for <body> -- this is already the case for target, but now it's also for response (of response->target)

Side effect:

  • Previously: * will also take stuffs inside response's <head> (scripts, styles, title, et al)
  • After this: <head> will be dropped, only stuffs under <body> will be taken (arguably the more correct behavior)

Fixes #20

@rooney rooney force-pushed the fix-#20-star-means-body branch from 9220d64 to 1af6446 Compare March 17, 2026 04:47
@rooney
Copy link
Copy Markdown
Contributor Author

rooney commented Mar 17, 2026

not chosen, fixed

@rooney rooney closed this Mar 17, 2026
@rooney rooney deleted the fix-#20-star-means-body branch March 25, 2026 06:57
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.

z-swap can't use top element as source if the response is a snippet

1 participant