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

OneNote importer adding hypertext reference to the title when using a link the fallback for the title #11597

Closed
pedr opened this issue Jan 7, 2025 · 0 comments · Fixed by #11598
Assignees
Labels
bug It's a bug import Related to importing files such as ENEX, JEX, etc.

Comments

@pedr
Copy link
Collaborator

pedr commented Jan 7, 2025

Behaviour was found when investigating #11596

Operating system

Windows

Joplin version

3.2.5

Desktop version info

Joplin 3.2.5 (dev, linux)

Client ID: fcd880306d4c4cefbb8901c026072659
Sync Version: 3
Profile Version: 47
Keychain Supported: No

Revision: d9df2dc (dev)

Current behaviour

  1. Create a OneNote without title
  2. In the first paragraph add a link, be it to another note or to an external address
  3. Export the notebook
  4. Try to import on Joplin
  5. The importer doesn't find a title for the note so it uses the first paragraph as the fallback title
  6. The fallback title includes the HYPERMARK tag and the whole link on title

Expected behaviour

  1. Create a OneNote without title
  2. In the first paragraph add a link, be it to another note or to an external address
  3. Export the notebook
  4. Try to import on Joplin
  5. The importer doesn't find a title for the note so it uses the first paragraph as the fallback title
  6. The fallback title should only be the text part of the link

Logs

No response

@pedr pedr added the bug It's a bug label Jan 7, 2025
@pedr pedr self-assigned this Jan 7, 2025
@pedr pedr added the import Related to importing files such as ENEX, JEX, etc. label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug import Related to importing files such as ENEX, JEX, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant