Skip to content

fix(english): resolve debrand tokens for WTR-LAB - #2644

Merged
rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
7ui77:master
Oct 7, 2026
Merged

rajarsheechatterjee merged 2 commits into
lnreader:masterfrom
7ui77:master

Conversation

@7ui77

@7ui77 7ui77 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

WTR-LAB uses a client-side debrand token system (e.g. %{Element World|R2Vuc2hpbiBJbXBhY3Q}) in raw titles, summaries, chapter names, and chapter content to mask trademarked names. Previously, these tokens were displayed raw in LNReader.

Changes

  • Added decodeReveal and resolveTokens helpers to decode base64 debrand tokens into their real names.
  • Applied resolveTokens across novel titles, summaries, tags, chapter titles, and chapter text.
  • Bumped WTR-LAB plugin version from 1.2.4 to 1.2.5.

Checklist

  • Update version code if an existing plugin was modified
  • Test changes in Plugin Playground or the app
  • Reference related issues in the PR body (e.g. Closes #xyz)
  • Commit messages follow type(scope): description (e.g. feat(<generator>): add new source)

Check results

Link repo:

https://raw.githubusercontent.com/7ui77/lnreader-plugins/refs/heads/plugins/v3.0.0/.dist/plugins.min.json

Link novel:

https://wtr-lab.com/en/novel/104095/element-world-guest-elder-of-the-hall-of-rebirth-funeral-director-of-the-dead-butterflies

Before:
Screenshot_2026-10-07-06-32-46-654_com rajarsheechatterjee LNReader
After:
Screenshot_2026-10-07-06-34-03-871_com rajarsheechatterjee LNReader

@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[Medium risk] Adds token decoding to a novel metadata plugin.

The PR should not merge until padded unquoted tokens display correctly.

Findings

  1. P1 Padded tokens stay visible ▶
  2. P2 Decoded names change chapter layout ▶

Summary

WTR-LAB now resolves debrand tokens across novel and chapter text before LNReader displays it. The plugin version moves to 1.2.5.

  • WTR-LAB novel and chapter text now shows revealed names.

Reviews (1) · Last reviewed commit: "fix(english): resolve debrand tokens for..."

Comment thread plugins/english/wtrlab.ts Outdated
Comment thread plugins/english/wtrlab.ts Outdated
@rajarsheechatterjee
rajarsheechatterjee merged commit c5d79a3 into lnreader:master Oct 7, 2026
3 checks passed
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