logseq / db-test

Used for Database version test
5 stars 1 forks source link

`/` is not visible for page references starting with `/` #113

Open nckre opened 1 month ago

nckre commented 1 month ago

Search first

What Happened?

When creating page inline starting with /, the slash is not visible on the page but does show up in the inline page ref.

CleanShot 2024-09-20 at 09 46 20

Reproduce the Bug

  1. Create page inline that starts with / (e.g. [[/test]])
  2. Either click out of the block or go out of the page reference and hit enter
  3. Go back to block

Expected Behavior

No response

Screenshots

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

logseq-cldwalker commented 1 month ago

Hi. '/' isn't an allowed character in pages anymore as it is now reserved for namespace/parent functionality. With changes made since this issue was made, I can't repro this any more

nckre commented 1 month ago

@logseq-cldwalker I can still replicate this on 250d730

Did you click out of the block or leave it and only then hit Enter? Doesn't work if you hit Enter right after typing.

CleanShot 2024-09-24 at 08 10 13