Affects: Spring Framework 6.0.0


There is a small problem in the @ModelAttribute section of the reference manual: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc-ann-modelattrib-method-args

There are a few redundant remarks such as : "Adding a BindingResult next to the @ModelAttribute." etc.

I think this should be easy to find and modify, thanks.

Comment From: snicoll

@dfjfj sorry, but I don't understand the problem you're trying to report. What do you mean by "redundant remark"?

Comment From: dfjfj

Sorry for the language trouble, please check the picture. incorrect: 屏幕截图 2022-11-17 153638 correct: 屏幕截图 2022-11-17 154229

Comment From: snicoll

@dfjfj I see it now. Thanks very much.

Comment From: dfjfj

You're welcome, a little effort.

Comment From: snicoll

That looks like a bug in the asciidoc rendering as the callout isn't in the source. I've noticed that switching to the Kotlin sample makes it go away.

Comment From: sbrannen

I have pushed a workaround for this bug in ac7d428a627e6dabbde500266eaeed4670e37bfb.

However, as mentioned in the commit message this appears to be a general bug that still needs to be addressed. As @snicoll pointed out elsewhere, this is likely an issue with the Javascript that supports this feature.

To address this, I have opened https://github.com/spring-io/spring-asciidoctor-backends/issues/68.

In light of that, I am closing this issue.