JavaFX WebView doesn't render bold text correctly when loading a GitHub page that uses markdown to style the content.
To reproduce this, run the following:
java HelloWebView https://gist.github.com/kevinrushforth/26a76c5ccd2d41df798c2a29542a3414
The section headers should be bold as should the word "bold" in the last sentence (This is some bold text and some italicized text). Firefox, Chrome, and Safari all render the bold text correctly.
I used Firefox to see the generated HTML that GitHub produces from the markdown, and I see this:
<p dir="auto">This is some <strong>bold</strong> text and some <em>italicized</em> text.</p>
Taken by itself, that HTML renders correctly in WebView, so something else, possibly the font or other style attributes, is causing it to not render the bold text as bold.
To reproduce this, run the following:
java HelloWebView https://gist.github.com/kevinrushforth/26a76c5ccd2d41df798c2a29542a3414
The section headers should be bold as should the word "bold" in the last sentence (This is some bold text and some italicized text). Firefox, Chrome, and Safari all render the bold text correctly.
I used Firefox to see the generated HTML that GitHub produces from the markdown, and I see this:
<p dir="auto">This is some <strong>bold</strong> text and some <em>italicized</em> text.</p>
Taken by itself, that HTML renders correctly in WebView, so something else, possibly the font or other style attributes, is causing it to not render the bold text as bold.