Further info on the second item: as these ZIM types are not currently detected as zimit2, the existing handler thinks that all links in a zimit2 archive are external (due to Wombat rewriting). We either have to disable wombat rewriting for clicks on links as was done in https://github.com/kiwix/libkiwix/pull/1036, or else we have to use our existing detection method for Zimit files minus the header lookup. I'm not sure which will be better just now.
There are a few parts to this:
Further info on the second item: as these ZIM types are not currently detected as zimit2, the existing handler thinks that all links in a zimit2 archive are external (due to Wombat rewriting). We either have to disable wombat rewriting for clicks on links as was done in https://github.com/kiwix/libkiwix/pull/1036, or else we have to use our existing detection method for Zimit files minus the header lookup. I'm not sure which will be better just now.