Special tags not properly linked
I use Zettelkasten like Zettelkasten.de, which they use the concept of structure notes, found by following the tag ##......
Emanate seems to fetch this type of note, see below
But when clicking to it (##§1) I get this link: https://notes.danielmathiot.tech/-/tags/#§1, but they are not fetched in the tag index (see here: https://notes.danielmathiot.tech/-/tags/#§1)
Just saw more of the tag index, and it seems to fetch notes with ##..., but clicking to them don't go to their list of notes
Hmm, yea we have to escape that # in the URL, otherwise browser will interpret it as HTML anchors.
Fix would probably go here:
https://github.com/srid/emanote/blob/f578519a0e1be836714104f9d5698923456367e3/src/Emanote/Route/SiteRoute/Type.hs#L158-L160
and
https://github.com/srid/emanote/blob/f578519a0e1be836714104f9d5698923456367e3/src/Emanote/Route/SiteRoute/Type.hs#L129-L131
Just saw more of the tag index, and it seems to fetch notes with
##..., but clicking to them don't go to their list of notes
The software should do it automatically, but for now - replace # with %23 in the URL. Example: https://notes.danielmathiot.tech/-/tags/%23Zettelkasten
Problem exists also in metadata.tpl
We are constructing tag URL manually, and that's wrong (${value} is not encoded here). Should just pass the encoded URL as template var.
By the way, in the tag index we already do this (ie. tag URLs use %23 - but the browser someone reverts it back to # when opening the URL, and fails. Dunno why).