# Problem with deep linking to headings

**URL:** https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063
**Category:** Support
**Created:** [1월 1, 2018, 6:24오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063 "2018-01-01T18:24:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![parisa](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@parisa](https://meta.discourse.org/u/parisa)
#### Post date: [1월 1, 2018, 6:24오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063/1 "2018-01-01T18:24:29Z")

</div>

Previously, something like the following would work perfectly. but now it doesn’t. whats the problem?

([reference](https://meta.discourse.org/t/deep-linking-to-headings-anchors/47552))

`**1- [go to heading 1](#1)**`  
**1- [go to heading 1](#1)**  
..  
.  
.  
..  
.  
.  
.  
.  
.  
.  
.  
.

.  
.  
..  
.  
.  
.  
.  
.  
.  
.  
.  
.  
.  
.  
.  
.

`<h3 id='1'>1- </h3>`

### 1-

.  
.  
.  
.  
.  
.

..  
.  
.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 1, 2018, 7:34오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063/2 "2018-01-01T19:34:03Z")

</div>

I believe there was a recent security fix here that prevents arbitrary class IDs in HTML, as they can lead to CSS griefing.

---

<div class="post-metadata">

### Author: ![parisa](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@parisa](https://meta.discourse.org/u/parisa)
#### Post date: [1월 1, 2018, 7:36오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063/3 "2018-01-01T19:36:34Z")

</div>

What does it mean? 🤔 I cant quite get you.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [1월 1, 2018, 8:58오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063/5 "2018-01-01T20:58:40Z")

</div>

> [@parisa](#):
>
> What does it mean?

As [said in the official topic](https://meta.discourse.org/t/deep-linking-to-headings-anchors/47552) your heading `id` must be in the form `<h3 id='heading--link-to-me'>Link to me</h3> `. It always need to start with `heading--`.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [6월 8, 2024, 12:43오후 UTC](https://meta.discourse.org/t/problem-with-deep-linking-to-headings/77063/6 "2024-06-08T12:43:48Z")

</div>

이 주제는 2349일 후 자동으로 닫혔습니다. 더 이상 새로운 답변을 남길 수 없습니다.
