inhumantsar / slurp

Slurps webpages and saves them as clean, uncluttered Markdown. Think Pocket, but better.
https://inhumantsar.github.io/slurp/
MIT License
126 stars 2 forks source link

"Malformed" Tags #27

Closed inhumantsar closed 1 month ago

inhumantsar commented 2 months ago

Moved from #23:

Some of the found tags aren't compatible with the required Obsidian tag format, so cleaning them is needed.

Replacing & with and to side-step the character issue, along with : with / to nest categories.

When ingesting from Forbes.com, I've found two parsing issues with tags.

First, Forbes has some wonky-arsed tag scheme that includes categories with : in them.

Categories:Other which becomes

slurp/Categories:Other

and obviously don't work as tags in Obsidian, so they just show in error red.

I've found at least one Ampersand (&) in the parsed tags as well, which also errors out.

inhumantsar commented 1 month ago

should be fixed in 0.1.12!