javadoc renderer: fix snippet rendering of deprecated sections #9175
javadoc renderer: fix snippet rendering of deprecated sections #9175ebarboni merged 1 commit intoapache:deliveryfrom
Conversation
|
Why does a |
|
i think thats the wrong question, its more about what NB's html renderer can reliably render, not what divs can do. |
|
Yes, but Swing normally treats |
|
the unclosed |
|
i believe i found the issue. The deprecated section is wrapped in <!DOCTYPE html>
<p><b>Deprecated.</b>
<i>
foo
<p>bar
</i>is invalid. |
cd3dfdd to
bb950d9
Compare
|
Thanks. I suspected something like this and was going to debug it today. Checked out and tested build of this and seems good to me. |
|
oh nice. even the goto tests are green. The original hotfix would have required to update test data. Even better this way. |
italic tags don't mix very well with text sections of unclosed paragraph tags.
|
short rebase for CI |
bb950d9 to
669d5d9
Compare
the browser renders inline snippets as code blocks, lets do the same.turned out to be a problem in the html generatorbefore:

after:

fixes #8963