Skip to content

redirections getting broken due to links also getting swapped words #7

@Julias0

Description

@Julias0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions