Skip to content

Commit 2a715e9

Browse files
committed
Fix escaping of #
This commit disables the "quotes" substitutions on specific XML examples that require to use the reserved `#` character. Issue: SPR-14074
1 parent 532ed0a commit 2a715e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/asciidoc/core-expressions.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ form `#{ <expression string> }`.
442442
A property or constructor-arg value can be set using expressions as shown below.
443443

444444
[source,xml,indent=0]
445-
[subs="verbatim,quotes"]
445+
[subs="verbatim"]
446446
----
447447
<bean id="numberGuess" class="org.spring.samples.NumberGuess">
448448
<property name="randomNumber" value="#{ T(java.lang.Math).random() * 100.0 }"/>
@@ -456,7 +456,7 @@ shown below. Note that you do not have to prefix the predefined variable with th
456456
symbol in this context.
457457

458458
[source,xml,indent=0]
459-
[subs="verbatim,quotes"]
459+
[subs="verbatim"]
460460
----
461461
<bean id="taxCalculator" class="org.spring.samples.TaxCalculator">
462462
<property name="defaultLocale" value="#{ systemProperties['user.region'] }"/>
@@ -468,7 +468,7 @@ symbol in this context.
468468
You can also refer to other bean properties by name, for example.
469469

470470
[source,xml,indent=0]
471-
[subs="verbatim,quotes"]
471+
[subs="verbatim"]
472472
----
473473
<bean id="numberGuess" class="org.spring.samples.NumberGuess">
474474
<property name="randomNumber" value="#{ T(java.lang.Math).random() * 100.0 }"/>

0 commit comments

Comments
 (0)