-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Is this a hackmd.io issue?
Yes, the bug happens on https://hackmd.io
What's the problem
Notes that contain a bulleted list * or - that have a link somewhere in that line will cause the page to load with a broken redirect, which breaks the page entirely (at least on Firefox)
Current behaviour
I have a published note at https://hackmd.io/@Partheo/spriting/ that has this issue. Loading this page will send you to https://hackmd.io/@Partheo/spriting/https%3A%2F%2Fgithub.com%2Ftgstation%2Ftgstation instead, which doesn't work. This occurs on the first bulleted link in the note, in this case the problematic line is line 72, which is * [/tg/station](https://github.com/tgstation/tgstation)
Changing the * to a - makes no difference. This bug does not occur with 1. 2. 3. numbered lists.
Deleting the link simply leads the next bulleted link in the document to cause the error. It's not specific to that link in particular.
This also occurs on Firefox on my phone, and on the Edge browser on PC. It is also breaking the fetched information that google gets when the note shows up in search results, so this is definitely an error on HackMD's end.
Reproduction:
Publish a note with a bulleted list somewhere in it
Place any URL in the bulleted list
Try loading the note in its published form
Observe odd redirect
Expected behaviour
My note loaded fine a couple months ago. This seems like a recent problem.