Problem with deep linking to headings


(pari) #1

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

(reference)

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

.
.

.
.
.
.
.
.
.
.

.
.

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

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

1-

.
.
.
.
.
.


.
.


(Jeff Atwood) #2

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


(pari) #3

What does it mean? :thinking: I cant quite get you.


(Rafael dos Santos Silva) #5

As said in the official topic 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--.