Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.12.5 Zim format parser breaks on links with $NAMES with java.lang.IllegalArgumentException #2398

Open
4 tasks done
Self-Perfection opened this issue Aug 21, 2024 · 1 comment

Comments

@Self-Perfection
Copy link
Contributor

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

Trying to view such file:

Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.6
Creation-Date: 2000-12-05T16:35:28+03:00


[[https://github.com/b3nj5m1n/xdg-ninja|b3nj5m1n/xdg-ninja: A shell script which checks your $HOME for unwanted files and directories.]]

Gives an error:

Please report at project issue tracker: java.lang.IllegalArgumentException: Illegal group reference

Steps to reproduce

  1. Create zim file
  2. Put a link in it with $FOOBAR in title. E.g.: [[https://google.com|This is $FOOBAR]]
  3. View file via Markor

Information

Android version: Irrelevant
Device: Irrelevant
App Version: v2.12.5

Source

F-Droid

Format / File type

Wikitext, Zim

Additional info / Log

-
@harshad1
Copy link
Collaborator

Can reproduce. This is an issue with view mode parsing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants