fix: disallow # in page name

Because it creates ambiguity in some cases:
1. With cmd-k we can’t tell the difference between an Apple page
tagged with Fruit and a page named "Apple #Fruit"
2. What should we do with [[Apple #Fruit king]]?
3. Is `#` for Markdown heading or part of a page name?

Fixes https://github.com/logseq/db-test/issues/100
Fixes https://github.com/logseq/db-test/issues/106
Fixes https://github.com/logseq/db-test/issues/105
This commit is contained in:
Tienson Qin
2024-09-19 02:50:47 +08:00
parent 55ce311173
commit c3f0cc1953
8 changed files with 110 additions and 93 deletions

View File

@@ -900,7 +900,7 @@ html.is-mac {
}
.block-tag a.tag {
@apply flex text-sm font-light items-center opacity-70;
@apply flex text-sm font-normal items-center opacity-70;
}
.block-tag a.tag:hover {