Skip to content

Tools docs: Unwanted conversion of double minus sign #6307

@Dave-Allured

Description

@Dave-Allured

CORRECTED MESSAGE. This problem occurs in Tools docs, not install docs.

In command line tool docs, such as h5dump documentation, double minus signs are used extensively for command line options. Example: h5dump --version.

In the newly converted "2.1.1" markdown docs, many of these double minus signs are seeing unexpected conversion into a single Unicode n-dash, when viewed in an ordinary web browser. I am seeing this in GitHub "Preview" mode when trying to read the install docs in my browser (Safari on Mac). I speculate that GitHub itself is doing this conversion when rendering web pages, and is independent of the browser, but not sure.

In these tools docs, many of these double minus signs are seeing unexpected conversion into a single Unicode n-dash, when viewed in an ordinary web browser.

These usages need to be somehow escaped or coded, such that they will render correctly as simple double minus signs in the ordinary browser. In particular this is needed for cutting and pasting commands. A pasted n-dash will result in a command error. Old hacks like me can usually recognize this confusion fairly quickly, but this can be troublesome for less experienced users.

I find other pages in support docs that are rendering many double minus signs correctly, but I am not sure how they do it. Escaping as code excerpts is one way. I am not a markdown expert. I suspect that there might be a markdown behavior that treats double minus signs differently if they are at the start of a new line; which is where I first noticed this problem.

Please fix the rendered double minus signs, when you can get to it. Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

On-Deck

Relationships

None yet

Development

No branches or pull requests

Issue actions