# Pasted links are always clickable?

**URL:** <https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815>\
**Category:** Help\
**Created:** [September 28, 2020, 8:49pm UTC](https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815 "2020-09-28T20:49:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrussianGreen](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@PrussianGreen](https://forums.ankiweb.net/u/PrussianGreen)\
**Post date:** [September 28, 2020, 8:49pm UTC](https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815/1 "2020-09-28T20:49:19Z")

</div>

A user reported an issue on Reddit that I was able to reproduce in Anki 2.1.34.

When pasting links into a field, **Anki is always creating a clickable link**. It doesn’t matter whether you hold shift or not, or whether the option to strip formatting is checked in the preferences.

This messed up their template, because they had something like this going on:

```
<a href="{{Reference}}">For Reference</a>

```

So, they ended up with this:

`<a href="<a href="https://apps.ankiweb.net/">https://apps.ankiweb.net/</a>">For Reference</a>`

Which displays this, when reviewing:

```
https://apps.ankiweb.net/">For reference.

```

Is this the default behavior or a bug?

---

<div class="post-metadata">

**Author:** ![kelciour](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kelciour/32/14770_2.png) [@kelciour](https://forums.ankiweb.net/u/kelciour)\
**Post date:** [September 28, 2020, 8:58pm UTC](https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815/2 "2020-09-28T20:58:35Z")

</div>

It might help to use `{{text:Reference}}` instead of `{{Reference}}` to strip HTML tags.

> [Introduction - Anki Manual](https://docs.ankiweb.net/#/templates/fields?id=html-stripping)

---

<div class="post-metadata">

**Author:** ![PrussianGreen](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@PrussianGreen](https://forums.ankiweb.net/u/PrussianGreen)\
**Post date:** [September 28, 2020, 9:04pm UTC](https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815/3 "2020-09-28T21:04:12Z")

</div>

That worked! I will let them know. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:29am UTC](https://forums.ankiweb.net/t/pasted-links-are-always-clickable/3815/4 "2023-05-01T05:29:09Z")

</div>


