# Problem with the new feature "Automatic header anchor links"

**URL:** https://meta.discourse.org/t/problem-with-the-new-feature-automatic-header-anchor-links/186375
**Category:** Bug
**Created:** [April 11, 2021, 10:20am UTC](https://meta.discourse.org/t/problem-with-the-new-feature-automatic-header-anchor-links/186375 "2021-04-11T10:20:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lhkjacky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhkjacky/32/204198_2.png) [@lhkjacky](https://meta.discourse.org/u/lhkjacky)
#### Post date: [April 11, 2021, 10:20am UTC](https://meta.discourse.org/t/problem-with-the-new-feature-automatic-header-anchor-links/186375/1 "2021-04-11T10:20:15Z")

</div>

After recent update, discourse add a new feature which add anchor links to header. It is nice feature 👍 however I found some problem related to this new feature.

> [@2.7.0.beta6: Automatic Group Avatar Flair, Improved User Education Content, Bookmark Pinning, and more](https://meta.discourse.org/t/2-7-0-beta6-automatic-group-avatar-flair-improved-user-education-content-bookmark-pinning-and-more/185908/1):
>
> ### Automatic header anchor links
> 
> Have a long topic and want to link users to a paragraph 2/3 of the way down? No problem, Discourse now allows users to copy links with anchors allowing users to jump to a header within a topic. Hover over a header to reveal a 🔗, like in the screenshot below. Click the link to add an anchor to the URL. Copy the URL from your address bar to share with others.

1. The new feature “Automatic header anchor links” seem don’t work with non-English Characters.  
For a non-English header, the anchor is empty, like this:  
`<a name class="anchor"></a>`

* * *

1. The “Read more” link with span class “topic-excerpt-more” in excerpt seem don’t work anymore. If you click on it, nothing happen.

By inspecting the “excerpt” in latest.json file ,  
The `<a>` tag with class “anchor” and “lightbox” are also included in excerpt, which weren’t there before.

Example:  
`"excerpt": "<a class=\"lightbox\" href=\"https://example.com/uploads/default/original/1X/0f20b75f1740924f7388fa3774c6630f1caa184c.jpeg\" data-download-href=\"https://example.com/uploads/default/0f20b75f1740924f7388fa3774c6630f1caa184c\" title=\"Title\"></a>\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n\n<a name=\"\" class=\"anchor\"></a>【見出し】\n\n<a name=\"\" class=\"anchor\"></a>【&hellip;",`

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [April 14, 2021, 6:22pm UTC](https://meta.discourse.org/t/problem-with-the-new-feature-automatic-header-anchor-links/186375/4 "2021-04-14T18:22:15Z")

</div>

I cannot reproduce point #2 on your list. Do you see any errors in your browser’s console?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [May 6, 2021, 5:00am UTC](https://meta.discourse.org/t/problem-with-the-new-feature-automatic-header-anchor-links/186375/5 "2021-05-06T05:00:00Z")

</div>

This topic was automatically closed after 6 days. New replies are no longer allowed.
