Underscores not drawn in pre with background color

Alexander Voigt <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20160721195022.GA8763@alex-laptop>
Hi Dillo developers,

I stumbled upon a page with a lot of code snippets wrapped in a <pre>
block, where Dillo seems to have a rendering problem: Underscores `_'
are not drawn.  I stripped down this real-world-example to the
attached minimal html file which reproduces the problem:

The page should render as follows:

============================================
softpoint_with_block() {
  { echo ""; } | ./softpoint.x leshouches
}
============================================

However, in the development version of Dillo it renders as follows:

============================================
softpoint with block() {
  { echo ""; } | ./softpoint.x leshouches
}
============================================

As you can see, the underscores in the function softpoint_with_block()
are not drawn in Dillo.

However, the underscores are drawn correcty if you

 * remove the style="..." specification from the <pre> block or

 * remove the line

      { echo ""; } | ./softpoint.x leshouches

   from the <pre> block content.

Best regards,
Alex

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
underscore.html (text/html, 143 B)
<html>
<body>
<pre style="background-color: white;">softpoint_with_block() {
  { echo ""; } | ./softpoint.x leshouches
}</pre>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.