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

Style wrong in Global view #10

Open
kinglion580 opened this issue Mar 8, 2024 · 3 comments
Open

Style wrong in Global view #10

kinglion580 opened this issue Mar 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kinglion580
Copy link

comment only show content, but in Global view, for author, it will show {"author":"what"}@@xxxx

image

expect:
show only content in Global view.

@kinglion580 kinglion580 changed the title style wrong in Global view Style wrong in Global view Mar 8, 2024
@Fevol Fevol added the bug Something isn't working label Mar 8, 2024
@Fevol Fevol self-assigned this Mar 8, 2024
@Fevol
Copy link
Owner

Fevol commented Mar 8, 2024

Thanks for the issue report!
Does this issue still occur after you reload the app/plugin? Also, what settings did you have enabled when you took this screenshot?

@kinglion580
Copy link
Author

Thanks for your reply.
yes, reload or restart obsidian, it stll occur. my settings are below:
image
image
image
image
image
image

@Fevol
Copy link
Owner

Fevol commented Mar 8, 2024

Thanks for sharing the settings! I don't think anything is wrong in your end, as far as I can see.

My best guess is that the text property of the range got messed up at some point, and the metadata got stored together with the text, and then this data got stored in the database (hence why your range in the Global View has the author both in the metadata (on top), as in the text).

I haven't been able to reproduce it throughout my testing, so either it requires a very specific set of inputs, or it is essentially random and needs to be solved structurally.

Either way, I will need to rewrite the text parsing code a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants