Open jwhonce opened 2 months ago
Hey, great catch! I was wondering why it was happening in some cases but not others, until you pointed out the nested brackets. Thanks, it's fixed in the new release. Let me know if it doesn't work, and we can reopen the issue.
Here you go!
https://github.com/adyscorpius/logseq-jira/releases/tag/v0.6.1
@adyscorpius
I downloaded 0.6.1.zip and installed it as an unpackaged plugin. The initial lookup works, the update lookup now fails with:
Hi @jwhonce,
Do you have other requests working fine and only this one giving an error? Can you share the headers being sent by a successful and failing request? (Please make sure you remove any API keys and randomize the endpoint.)
Describe the bug If the Jira summary contains square brackets, then updating will cause the URL in the block to become corrupted. Enabling the experimental auto refresh, will eventually rewrite the URLs until errors are thrown on startup.
To Reproduce Steps to reproduce the behavior:
Expected behavior /Jira: Update Issue should rewrite the block information updating information that has changed.
Screenshots From journal file:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context