Skip to content

make sure not to strip new lines for hooks#297896

Merged
justschen merged 1 commit intomainfrom
justin/cofagrigus
Feb 26, 2026
Merged

make sure not to strip new lines for hooks#297896
justschen merged 1 commit intomainfrom
justin/cofagrigus

Conversation

@justschen
Copy link
Copy Markdown
Collaborator

@justschen justschen commented Feb 26, 2026

Copilot AI review requested due to automatic review settings February 26, 2026 08:19
@justschen justschen enabled auto-merge (squash) February 26, 2026 08:21
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the chat hook UI styling to preserve newline formatting in hook “reason” and “message” text, addressing an issue where line breaks were being visually collapsed in the rendered chat details.

Changes:

  • Preserve line breaks in .chat-hook-reason by setting white-space: pre-wrap.
  • Preserve line breaks in .chat-hook-message by setting white-space: pre-wrap.

@justschen justschen merged commit f1b9cac into main Feb 26, 2026
24 checks passed
@justschen justschen deleted the justin/cofagrigus branch February 26, 2026 08:44
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.

3 participants