[PR #7157] fix: escape backticks when passing to powershell #12279

Closed
opened 2026-02-16 18:17:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7157

State: closed
Merged: Yes


prevented proper copying of codeblocks, this should hopefully fix that

Before:

inline code looks like this

`pwsh
Invoke-Expression "echo hello!"
`

After:

inline `code` looks like this
```pwsh
Invoke-Expression "echo hello!"
```
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7157 **State:** closed **Merged:** Yes --- prevented proper copying of codeblocks, this should hopefully fix that Before: <pre> inline code looks like this `pwsh Invoke-Expression "echo hello!" ` </pre> After: <pre> inline `code` looks like this ```pwsh Invoke-Expression "echo hello!" ``` </pre>
yindo added the pull-request label 2026-02-16 18:17:12 -05:00
yindo closed this issue 2026-02-16 18:17:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12279