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:
Create a account on substack
Go to your substack page (Ex - dhar.substack.com)
Click on Dashboard
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
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:
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