beaussan / update-time-on-edit-obsidian

MIT License
165 stars 15 forks source link

Plugin changes and breaks other fields #56

Open EternalDusk opened 1 year ago

EternalDusk commented 1 year ago

I'm using this plugin alongside a few others, one being "Banner". Every time I update the banner url with the quotations for the syntax, it removes the quotes, thus breaking the url.

(ex: banner: "https://wallpapers.com/images/high/dark-academia-ireland-library-afhnkau6zvbpzu1o.webp" => banner: https://wallpapers.com/images/high/dark-academia-ireland-library-afhnkau6zvbpzu1o.webp)

My current workaround is to just save the images, but that's taxing on my storage space for the number of files I link.

beaussan commented 1 year ago

Hi,

Thank you for reporting this issue. What version of obsidian are you using?

I am using an Obsidian official api to modify the front matter, so if this is causing an issue, I might have to report it back to either the banner plugin for not reading the string correctly, or the obsidian api repo.

Technically, the url is valid, even without the quotation marks

EternalDusk commented 1 year ago

I am currently up to date with version 1.3.7 of obsidian. I notice that it's also changing some of my formatting for titles and authors using the "Book Search" plugin, as these problems don't occur with the plugin disabled.

Example from one of the book notes: title: "Key Person of Influence: The Five-Step Method to Become One of the Most Highly Valued and Highly Paid People in Your Industry" title: "Key Person of Influence: The Five-Step Method to Become One of the Most Highly Valued and Highly Paid People in Your Industry" (A new line is added after "Most")

Another thing I noticed is the removal of comments

melectronvolt commented 1 year ago

Same here, break cover field when it's too long

---
description: Use Unicode in Windows Terminal with Clion (CMake)
permalink: cpp/snippets/config/terminal_windows_unicode
created: 2023-07-24T08:17
updated: 2023-08-14T15:52
cover: 🧑🏻‍💻 Coding/💫 C - C++/🌟 C++/Snippets ✂️/Config 🔩/_💾Assets/Pasted  image 20230724084156.png
---

is transformed in

---
description: Use Unicode in Windows Terminal with Clion (CMake)
permalink: cpp/snippets/config/terminal_windows_unicode
created: 2023-07-24T08:17
updated: 2023-08-14T15:52
cover: 🧑🏻‍💻 Coding/💫 C - C++/🌟 C++/Snippets ✂️/Config 🔩/_💾Assets/Pasted 
 image 20230724084156.png
---
beaussan commented 1 year ago

Feel free to report it on the obsidian api repo, as this is expected behavior from their side, see https://github.com/obsidianmd/obsidian-api/issues/110#issuecomment-1500356605

gfordinal commented 1 year ago

Read continuously reported issue with that in the obsidian forum.