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:
- URLs should always be formatted for italics in the output (as that is how they are usually used).
- Unless the URL contains one or more underscores. Then use bold instead (enclosing in a pair of asteriskes (
*))
- If it is possible to escape underscores, then do that instead of 2.
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:
*))