This function returns a copy of str with all underline converted to two adjacent underlines.
This comes in handy when needing to display strings with underlines (like filenames) in a place that would convert them to mnemonics.
| str |
Underline infested string (or null) |
|
A (possibly escaped) copy of |