Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ThomasMortagne1 +XWiki.mflorea - Content
-
... ... @@ -60,6 +60,12 @@ 60 60 * new ##org.xwiki.rendering.listener.SectionGeneratorListener## to generate section events from headers events 61 61 * Instance Output filter now indicate the target syntax for Input filters producing rendering events 62 62 * The same relative file path supported for ##source## filter properties parameter is now supported for any InputSource filter properties parameter in the Filter test framework 63 +* ##$regextool## [[Velocity Tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] has a new method to quote the replacement string in ##String#replaceAll()##. Here's how you can use it:((( 64 +{{code language="none"}} 65 +#set ($out = $out.replaceAll(" (id|for)=('|"")$regextool.quote($oldId)", 66 + " ${escapetool.d}1=${escapetool.d}2$regextool.quoteReplacement($newId)")) 67 +{{/code}} 68 +))) 63 63 64 64 = Translations = 65 65