diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java index b79c3219bc..52e0fa002c 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/AbstractErrorWebExceptionHandler.java @@ -202,7 +202,7 @@ public abstract class AbstractErrorWebExceptionHandler builder.append("
").append(htmlEscape(message)).append("
"); } if (trace != null) { - builder.append("
").append(htmlEscape(trace)).append("
"); + builder.append("
").append(htmlEscape(trace)).append("
"); } builder.append(""); return responseBody.syncBody(builder.toString());