Changes for page Home
Last modified by Thomas Mortagne on 2024/05/07 16:35
From version 58.15
edited by Thomas Mortagne
on 2022/11/02 15:14
on 2022/11/02 15:14
Change comment:
There is no comment for this version
To version 58.14
edited by Thomas Mortagne
on 2022/11/02 15:13
on 2022/11/02 15:13
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,7 @@ 1 1 {{groovy}} 2 2 if (request.input && request.input != '') { 3 - xdom = services.rendering.parse(request.input, request.inputsyntax) 4 - result = services.rendering.render(xdom, request.outputsyntax) 3 + xdom = $services.rendering.parse(request.input, request.inputsyntax) 4 + result = $services.rendering.render(xdom, request.outputsyntax) 5 5 6 6 return new org.xwiki.rendering.block.MacroBlock("code", ["language": request.outputsyntax], result, false) 7 7 }