# Avoid linkifying non-interactive code spans \(\#57515\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2c26e5e5449dfd4f8729acaf5b6fcf5c6347eac0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2c26e5e5449dfd4f8729acaf5b6fcf5c6347eac0

Requested commit: 2c26e5e5449dfd4f8729acaf5b6fcf5c6347eac0

Commit: 2c26e5e5449dfd4f8729acaf5b6fcf5c6347eac0

Tree: ae18f58d34d9451f64576515a08c76acbdccc41f

Author: MartinYe1234

Committer: GitHub

## Message

```
Avoid linkifying non-interactive code spans (#57515)

## Summary

- Skip code-span link resolution when markdown prevents mouse
interaction
- Add regression coverage for non-interactive code spans

## Tests

- cargo test -p markdown
test_code_span_link_ignores_code_when_mouse_interaction_is_prevented

Release Notes:

- Fixed extra link styling on file paths in agent tool call labels.
```

## Parents

- [d3e27abc87957ba83dc0efa4961527c8c706b5c9](https://git.cafe/gitcafe/zed/commit/d3e27abc87957ba83dc0efa4961527c8c706b5c9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2c26e5e5449dfd4f8729acaf5b6fcf5c6347eac0?format=markdown)
