Opened 5 years ago

Closed 5 years ago

#4805 closed defect (bug) (reported-upstream)

Single line code samples don't show underscores

Reported by: joyously's profile joyously Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords: has-screenshots


I'm not sure if this is the syntax highlighter, or the theme for various parts of the site, but at least the support articles that show one line code samples get cut off at the bottom, so underscores are not visible.

There are several examples on

Attachments (1)

syntax-highlighter.jpg (22.5 KB) - added by joyously 5 years ago.
the underscores do not show

Download all attachments as: .zip

Change History (5)

5 years ago

the underscores do not show

#1 @pbiron
5 years ago

  • Keywords has-screenshots added

Here's a little info on this.

The underscores display properly for me with Chrome 78.0.3904.70 and Firefox 70, but do not display in IE 11.418.18362.0 and Edge 44.18362.449.0 (on Win10, 1903).

To further complicate matters, in both IE 11 and Edge, the underscores do display in some of the single line code samples but not in others :-(

#2 @mkaz
5 years ago

This is from the plugin, and mostly dependent on font size, zoom your browser and you can see.
The fix is for the plugin to not set the line-height. It effects not just support but other sites too. I noticed it here:

I have a PR open to address:

Last edited 5 years ago by mkaz (previous) (diff)

#3 @SergeyBiryukov
5 years ago

  • Component changed from General to Support Forums

Previously: #1928, #2378, #4400.

#4 @tellyworth
5 years ago

  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.