Fix formatting for SpEL and OGNL examples in Java.md

This commit is contained in:
Swissky
2026-03-02 17:57:38 +01:00
committed by GitHub
parent 5c487edc05
commit 3c063a8616

View File

@@ -370,7 +370,7 @@ ${ new groovy.lang.GroovyClassLoader().parseClass("@groovy.transform.ASTTest(val
### SpEL - Basic Injection
> SpEL has built-in templating system using #{ }, but SpEL is also commonly used for interpolation using ${ }
> SpEL has built-in templating system using `#{ }`, but SpEL is also commonly used for interpolation using `${ }``.
```java
${7*7}
@@ -472,7 +472,7 @@ ${pageContext.request.getSession().setAttribute("admin",true)}
### OGNL - Basic Injection
> OGNL can be used with different tags like ${ }
> OGNL can be used with different tags like `${ }`
```java
7*7