redirections getting broken due to links also getting swapped words
Open
bug
good first issue
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
If the dictionary contains words which are a part of some html tag or part of a url, the corresponding link is broken
**To Reproduce**
Steps to reproduce the behavior:
1. Create a account on substack
2. Go to your substack page (Ex - dhar.substack.com)
3. Click on Dashboard
4. No redirection happens to substack dashboard
**Expected behavior**
You should be redirected to the substack dashboard
**Additional context**
This is probably happening because everything in the doc contents is being text replaced. The right way would be to go over every text node and replace only the text content.
Because of the current approach, the js code, links etc is breaking
Contributor guide
Assessment
This issue has not been assessed yet.