Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing inline tags: # symbol remains #197

Open
1 of 2 tasks
geosmina opened this issue Dec 21, 2024 · 1 comment
Open
1 of 2 tasks

Error importing inline tags: # symbol remains #197

geosmina opened this issue Dec 21, 2024 · 1 comment
Assignees
Labels
awaiting-response Issue will be closed if a reply is not received import wontfix This will not be worked on

Comments

@geosmina
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

When I import the notes and select the option to preserve inline tags, they still include the # symbol.
Inline Tag

Reproduce the Bug

  1. Go to "Import existing notes".
  2. Select "File to DB Graph".
  3. Select the File Graph folder.
  4. Uncheck the option "Remove inline tags".
    Remove InlineTags
  5. Import.
  6. Search for the page that has a inline tag in it.

Expected Behavior

The node should be tagged, but the inline text of the tag should be saved without the # character.

Files

File used in the test:
2024_12_21.md

Browser, Desktop or Mobile Platform Information

Logseq DB 0.10.10 - 052d239
Firefox - 133.0.3 (64-bit)
Google Chrome - 131.0.6778.204 (64-bit)

Additional Context

No response

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

  • I'm willing to submit a PR (Thank you!)
@logseq-cldwalker logseq-cldwalker self-assigned this Jan 13, 2025
@logseq-cldwalker logseq-cldwalker added the wontfix This will not be worked on label Jan 13, 2025
@logseq-cldwalker
Copy link
Contributor

but the inline text of the tag should be saved without the # character

Hi. The Remove inline tags config removes the whole tag e.g. #Logseq from the line and not the # character as described in https://github.com/logseq/docs/blob/feat/db/db-version.md#db-graph-importer. In the DB version, I'd recommend creating a normal tag and inline tag with these approaches to see the difference. Happy to take any documentation suggestions to improve this before closing

@logseq-cldwalker logseq-cldwalker added the awaiting-response Issue will be closed if a reply is not received label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response Issue will be closed if a reply is not received import wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants