Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Palloxin
Copy link
Contributor

@Palloxin Palloxin commented Sep 17, 2025

It was broken with the last pr. Somehow the dev(bionic reading developer) who accepted the very same changes didnt find problems with the very same regex improvements.

I tested on LNReader, and adding a single group fixes the Bionic Reading feature.

Github comparison doesnt show, but I just made this simple change:

H = /<!--[^]*?-->|<[^>]+>/g,

↓↓

H = /<!--[^]*?-->|(<[^>]+>)/g,

which fixed it.

Edit: the bionic reading script used on the app is an older version (or a modified one, i cant tell). That's why the original changes worked for the script creator, but not on the app ( I assume).

@nyagami nyagami merged commit 00c1809 into lnreader:master Sep 21, 2025
1 of 2 checks passed
CD-Z pushed a commit to CD-Z/lnreader that referenced this pull request Oct 9, 2025
@Palloxin Palloxin deleted the patch-7 branch December 3, 2025 10:13
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

Successfully merging this pull request may close these issues.

2 participants