memos
memos copied to clipboard
URLs with # data in them are treated as tags
Describe the bug
https://github.com/usememos/memos/blob/3b1bab651a525faaf8baa0fb8cd0374ed7ef8305/server/tag_test.go#L37
This is a link that http://123123.com?123123#tag2
should not get #tag2
as a tag
Steps to reproduce
go to describe
Screenshots or additional context
No response
also in code mode
save a password in this aera like 123456#123456
We are implementing a markdown parser in go that will solve this problem effectively. Feel free to contribute code if you are interested! https://github.com/usememos/memos/tree/main/plugin/gomark
We are implementing a markdown parser in go that will solve this problem effectively. Feel free to contribute code if you are interested! https://github.com/usememos/memos/tree/main/plugin/gomark
So is there a plan to migrate all the markdown parse from frontend to backend? PS: Why implementing markdown parser by yourself not using some 3rd library?
Maybe fixed in the recent releases.