# 请不要在 Markdown 中粘贴 URL 时重复链接

**URL:** <https://meta.discourse.org/t/please-dont-double-link-urls-if-one-pastes-over-a-url-in-markdown/210793>\
**Category:** Bug\
**Created:** [2021 年12 月 2 日 00:24 UTC](https://meta.discourse.org/t/please-dont-double-link-urls-if-one-pastes-over-a-url-in-markdown/210793 "2021-12-02T00:24:28Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2021 年12 月 2 日 13:30 UTC](https://meta.discourse.org/t/please-dont-double-link-urls-if-one-pastes-over-a-url-in-markdown/210793/10 "2021-12-02T13:30:28Z")

</div>

> [@Moin](#):
>
> 也许这些站点需要更新。

是的，我认为你是对的——这昨天已经修复了：

> <https://github.com/discourse/discourse/pull/15159>
>
> This is a follow up to https://github.com/discourse/discourse/pull/15010, where …WordPress-style link pasting was added. This PR updates behavior to testing if the current text selection has a link. If it does, we should default to normal paste behavior even if the paste value contains a link.
> 
> This was discussed in https://meta.discourse.org/t/new-behavior-when-copy-pasting-links/210721
> 
> https://user-images.githubusercontent.com/1270189/144295458-b3d5e5a9-e2f9-45e1-802d-5824332aa6be.mp4

@mattdm 我现在就为你运行部署，所以修复应该在几分钟内上线。

---

_[View the full topic](https://meta.discourse.org/t/please-dont-double-link-urls-if-one-pastes-over-a-url-in-markdown/210793)._
