Describe the bug
Ampersand is not escaped on Twitter share
To Reproduce
It will open a tab with a tweet "101 Tips For Being A Great Programmer ( instead of "101 Tips For Being A Great Programmer (& Human)" by @EmmaWedekind #DEVcommunity https://dev.to/emmawedekind/101-tips-for-being-a-great-programmer-human-36nl.
Expected behavior
It should open a tab with a tweet "101 Tips For Being A Great Programmer (& Human)" by @EmmaWedekind #DEVcommunity https://dev.to/emmawedekind/101-tips-for-being-a-great-programmer-human-36nl.
@vepo what browser are you using? Because with Firefox 68 the share works correctly.
I select other way to share it. Not direct click on the Twitter icon. I was thinking if I share it through twitter or Linkedin.
Already updated the issue
I see the bug, there's a difference in how the URL is composed in the Twitter button in the sidebar - https://github.com/thepracticaldev/dev.to/blob/master/app/views/articles/_actions.html.erb#L17 - and the "Share to Twitter" in the hamburger menu - https://github.com/thepracticaldev/dev.to/blob/master/app/views/articles/_actions.html.erb#L62 (the second one is the wrong one).
Great catch!