Forward port of issue #33259 to 3.0.x.

Comment From: mhalbritter

As explained in https://github.com/spring-projects/spring-boot/issues/33206 this is a limitation of asciidoctor.