-
Notifications
You must be signed in to change notification settings - Fork 920
javadoc renderer: fix snippet rendering of deprecated sections #9175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: delivery
Are you sure you want to change the base?
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