|
20 | 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. |
21 | 21 | --> |
22 | 22 |
|
23 | | -<xwikidoc version="1.4" reference="Blog.BlogCode" locale=""> |
| 23 | +<xwikidoc version="1.6" reference="Blog.BlogCode" locale=""> |
24 | 24 | <web>Blog</web> |
25 | 25 | <name>BlogCode</name> |
26 | 26 | <language/> |
|
30 | 30 | <creationDate>1373016402000</creationDate> |
31 | 31 | <parent>Blog.WebHome</parent> |
32 | 32 | <author>xwiki:XWiki.Admin</author> |
| 33 | + <originalMetadataAuthor>XWiki.Admin</originalMetadataAuthor> |
33 | 34 | <contentAuthor>xwiki:XWiki.Admin</contentAuthor> |
34 | | - <date>1749827475000</date> |
35 | | - <contentUpdateDate>1749827475000</contentUpdateDate> |
| 35 | + <date>1764057977000</date> |
| 36 | + <contentUpdateDate>1764057977000</contentUpdateDate> |
36 | 37 | <version>1.1</version> |
37 | 38 | <title>Macros for the Blog application</title> |
38 | 39 | <comment/> |
@@ -736,7 +737,8 @@ $!xwiki.jsx.use($blogScriptsDocumentName)## |
736 | 737 | * @param entryObj The xobject of the blog post, an instance of the <tt>Blog.BlogPostClass</tt> xclass. |
737 | 738 | *### |
738 | 739 | #macro(displayEntryTitle $entryDoc $entryObj) |
739 | | - #set($escapedRenderedTitle = $services.rendering.escape($entryDoc.getValue('title'), $xwiki.getCurrentContentSyntaxId())) |
| 740 | + ## This is executed in the context of a global HTML macro, so we need to escape html too |
| 741 | + #set($escapedRenderedTitle = $escapetool.html($services.rendering.escape($entryDoc.getValue('title'), $xwiki.getCurrentContentSyntaxId()))) |
740 | 742 | #if($doc.fullName == $entryDoc.fullName) |
741 | 743 | (% class="entry-title" %) |
742 | 744 | = $escapedRenderedTitle = |
|
0 commit comments