Julias0 / Julias0/sobdo

redirections getting broken due to links also getting swapped words

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.