Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underscore(s) in URLs for YouTube may disappear #3

Open
PeterMortensen opened this issue Mar 19, 2020 · 0 comments
Open

Underscore(s) in URLs for YouTube may disappear #3

PeterMortensen opened this issue Mar 19, 2020 · 0 comments

Comments

@PeterMortensen
Copy link
Owner

PeterMortensen commented Mar 19, 2020

Web, transformation for YouTube (function "Transform for YouTube comments"):

If there is one or more underscores in a URL for YouTube and the content is subsequently styled with italics (in YouTube comments, that is by enclosing in a pair of underscore characters (_)), one or more underscores in the URL (every second one?) may be hidden from view.

This is not a problem with this function as such (more how styling works in YouTube comments), but it can cause unexpected behaviour. Currently the user needs to be aware of it.

There are often underscores in both YouTube and Wikipedia URLs. Examples:

Is it possible to escape underscores? For example, will a double underscore work?

Proposed changes:

  1. URLs should always be formatted for italics in the output (as that is how they are usually used).
  2. Unless the URL contains one or more underscores. Then use bold instead (enclosing in a pair of asteriskes (*))
  3. If it is possible to escape underscores, then do that instead of 2.
@PeterMortensen PeterMortensen changed the title Underscore in URL for YouTube disappear Underscore in URL for YouTube may disappear Mar 19, 2020
@PeterMortensen PeterMortensen changed the title Underscore in URL for YouTube may disappear Underscore(s) in URL for YouTube may disappear Mar 19, 2020
@PeterMortensen PeterMortensen changed the title Underscore(s) in URL for YouTube may disappear Underscore(s) in URLs for YouTube may disappear Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant