Closed merlinuwe closed 4 months ago
Hey @merlinuwe . I am having a bit of trouble understanding exactly what happened here. I have some speculation around this which leads me to believe this a bug with move tags to frontamatter. I am guessing this rule is enable and it assuming that #\`` is a tag (that would be a regex fix to fix that issue if it is causing the issue). The tag array type is probably what is causing the removal of
]and
]` which is valid in Obsidian, but not elsewhere).
However I am not sure if that is the case. Could you provide your data.json
or confirm that disabling that rule fixes the problem? If it is caused by that I can probably fix it pretty easily by adding ``` to the list of invalid tag characters.
Sorry about the delay. I believe I have a fix for this issue.
The changes for this should now be on master and should go out with the next release. Please let us know if either is not the case.
I have this note:
with this markdown:
If I linter it, the first "[" after "tags:" is deleted and at the end there is a ", `" instead of a "]":
muell-Linter.md
This causes after lintering again this error message:
(Background: I copied the text part of this website https://www.cyberciti.biz/faq/linux-unix-bsd-is-ntp-client-working/ and pasted it into a note. This error occured, but I've narrowed it down.)
It would be nice, if your linter plugin could recognize issues like this and repair them.