From 38340522de419f35dcb8c6b4c34c1d9ec61f5c67 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 5 Dec 2019 11:33:58 +0000 Subject: [PATCH] Fix Asciidoc syntax --- .../spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc index 3ae078cb414e..828f8e31a1ac 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -107,7 +107,7 @@ A custom implementation may define another order. CAUTION: While using `@PropertySource` on your `@SpringBootApplication` may seem to be a convenient way to load a custom resource in the `Environment`, we do not recommend it. Such property sources are not added to the `Environment` until the application context is being refreshed. -This is too late to configure certain properties such as `logging.*` and `spring.main.*` which are read before refresh begins. +This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins. diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 1f76c091c07b..8fc2213c1d29 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -353,7 +353,7 @@ Properties are considered in the following order: . Application properties packaged inside your jar (`application.properties` and YAML variants). . {spring-framework-api}/context/annotation/PropertySource.html[`@PropertySource`] annotations on your `@Configuration` classes. Please note that such property sources are not added to the `Environment` until the application context is being refreshed. - This is too late to configure certain properties such as `logging.*` and `spring.main.*` which are read before refresh begins. + This is too late to configure certain properties such as `+logging.*+` and `+spring.main.*+` which are read before refresh begins. . Default properties (specified by setting `SpringApplication.setDefaultProperties`). To provide a concrete example, suppose you develop a `@Component` that uses a `name` property, as shown in the following example: