/facepalm
I didn’t think of that!
Interestingly though, I did try it using the name attribute first and when that didn’t work I used the id instead.
Can you think of any reason why it wouldn’t work if the #bookmark part of the URL was on the end of the topic number?
For example, looking at this topic, I see this in the browser;
https://meta.discourse.org/t/html-bookmarks-not-discourse-bookmarks/77241/2
I appreciate the /2
on the end is for the reply, and the previous number, /77241
is the topic, so, should /77241#bookmark
work?
Update
Interesting, taking one the links from the /guidelines page and opening it in a new tab (Chrome) also didn’t exhibit the desired behaviour!
For example;
https://community.gamedev.tv/t/forum-guidelines-faq/5#flag-problems
Only seem to work if they are clicked on, on the actual page…