<
From version < 24.1 >
edited by Thomas Mortagne
on 2015/11/27
To version < 25.1 >
edited by Marius Dumitru Florea
on 2015/11/28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.mflorea
Content
... ... @@ -61,6 +61,12 @@
61 61  |{{image reference="NotificationsInside.png"/}}
62 62  )))
63 63  * A new ##extractFirstReference(EntityType)## API has been added to ##EntityReference##: Extract the first entity of the given type from this one by traversing the current entity to the root. This differentiates it from ##extractReference(EntityType)## which extracts the last entity of the given type.
64 +* The escape Velocity tool has a new method to escape CSS identifiers. This is similar to ##CSS.escape()## available in JavaScript, and is useful if you want to create CSS selectors dynamicaly using untrusted input.(((
65 +{{code language="none"}}
66 +$escapetool.css('a#b.c d[e=f]g{h:i;j}k')
67 +## Output: a\\#b\\.c\\ d\\[e\\=f\\]g\\{h\\:i\\;j\\}k
68 +{{/code}}
69 +)))
64 64  
65 65  = Translations =
66 66  

Get Connected