This fixes #89 by writing only the filename if asset is at the root relative to the HTML. Also, add support for jump_to_xblock kind of link found in PHZH for links rewriting. Moreover, this also ensures that the display_name is not empty for any xblock as it would result in root relative links which are forbidden in ZIM.
This fixes #89 by writing only the filename if asset is at the root relative to the HTML. Also, add support for jump_to_xblock kind of link found in PHZH for links rewriting. Moreover, this also ensures that the display_name is not empty for any xblock as it would result in root relative links which are forbidden in ZIM.