wordpress-mobile / wordpress-mobile/WordPress-Android
Reader: Unable to recognize HTML anchor created in Classic block
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
It was reported in 4574479-zd-woothemes that the HTML anchor links didn't work in the app's Reader. Clicking the HTML anchor link works well on browsers.
Expected behavior
The user expects that the Reader would perform the page jump to the respective section by tapping on the HTML anchor link.
Actual behavior
The app's Reader displays a notice that says "Unable to find the linked page jump".
Steps to reproduce the behavior
- Open this test post on the app's Reader: https://premiumtestsite20190311.blog/2021/12/14/test-page-jump/
- Tap the "Jump to section 2" link in the post and notice the page jump is successful
- Tap the "Classic block jump" link which was created in the Classic block and see the notice that says "Unable to find the linked page jump".
Note: The HTML anchor created in the test post use the following HTML code:
<a name="jump">Jump to this section</a>
Tested on Huawei Nova 2i, Android 9, WPAndroid 18.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the app's Reader using the linked test post, then trace how Reader handles HTML anchor links and the Classic block jump. Done means the Classic block's named anchor is recognized and tapping it jumps to the corresponding section without the "Unable to find the linked page jump" notice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100