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
Actually, I think it's likely to be a transformation issue. I don't use en dashes at all...but, in listings, it is common for the double-hyphen comment marker to be present. Is the transformer trying to convert these to en-dash? Can you find any examples of the problem where the double-hyphen misconversion is *not* the case?
- In the Syntax block, you see a thick vertical bar between the numbers 1 and 16 (at least, that's what *I* see in my browsers).
- In the 2nd (outermost) listitem under Value ranges, you see the text "Thus, in this range - and in this range only - ..." with correctly displayed en dashes (again, in my browsers).
If you look at the HTML source, they are all the same entity: – (Unicode code point 8211d = 2013h = en dash).
Also, if I select and copy the "thick vertical bar" character and paste it into a text editor, I get an en dash.
So I think it's the monospace font that lacks a glyph here.
Submitted by: @paulvink
In the HTML output, en dashes (Unicode 2013h = 8211d) are displayed incorrectly when they occur in a programlisting element.
Observed in Firefox and IE, under Windows 7. Possibly due to limitations of the fixed-width font.
The text was updated successfully, but these errors were encountered: