You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If name matches username
replace username with name (to keep capitalization)
Either we drop the space altogether (so in this case there won't be any changes for these users, but there would be for sindresorhus, which would become SindreSorhus), or
we replace it with <span style="margin-left:0.2em"/> so it won't break copy-pasting.
As far as textContent is concerned, only the case will change. sindresorhus -> SindreSorhus so to fix that feature we just need a .toLowercase() in a couple of places.
To make it even safer if could use
<u>s</u>indre<s/><u>s</u>orhus
where s and u are margin-left: 0.2em and text-transform: uppercase respectively.
.textContent would be completely unchanged for all extensions, however it's probably a pain to code that.
Or use .pathname to get the user name instead of .textContent
This isn't useful:
I'd rather see this:
Feature:
show-names
sindresorhus
, which would becomeSindreSorhus
), or<span style="margin-left:0.2em"/>
so it won't break copy-pasting.Example URL:
microsoft/TypeScript#30442 (reference)
The text was updated successfully, but these errors were encountered: