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

[BUG] invalid section names in ToC #247

Open
2 tasks done
lstuma opened this issue Mar 5, 2025 · 0 comments
Open
2 tasks done

[BUG] invalid section names in ToC #247

lstuma opened this issue Mar 5, 2025 · 0 comments
Assignees
Labels
type: bug This fixes a bug. Increment the minor version

Comments

@lstuma
Copy link

lstuma commented Mar 5, 2025

General Information
Version:
Installation Method: nix-shell -p wiki-tui
Operating System: nixos

Used configuration (if available):


Describe the bug
A clear and concise description of what the bug is. (see e.g. https://zh.wikipedia.org/wiki/Git)

Section names containing html are displayed wrongly in table of contents (see https://github.com/Builditluc/wiki-tui/blame/60c52592fe5fafc62a9769099962317c4d2e7d6c/wiki-api/src/page.rs#L523)

To Reproduce
Steps to reproduce the behavior:

  1. Go to wikipedia article of Git
  2. Switch language to chinese
  3. See wrong section name in section 4

Expected behavior
A clear and concise description of what you expected to happen.

Section names should be displayed correclty as on the wikipedia page.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

wiki-tui displays section 4 (库目录) wrongly in table of contents

Image

Crash report (if available)
If available, upload the crash report for further information

Additional context
Add any other context about the problem here.

Checklist

  • checked other issues for the same bug
  • read CONTRIBUTING.md
@lstuma lstuma added the type: bug This fixes a bug. Increment the minor version label Mar 5, 2025
@lstuma lstuma changed the title [BUG] [BUG] invalid section names in ToC Mar 5, 2025
@Builditluc Builditluc self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug This fixes a bug. Increment the minor version
Projects
Status: Todo
Development

No branches or pull requests

2 participants