Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.9
-
None
-
Unknown
-
Description
It results in a HTML error: "org.xwiki.rendering.macro.MacroExecutionException: When using the HTML macro inline, you can only use inline HTML content. Block HTML content (such as tables) cannot be displayed. Try leaving an empty line before and after the HTML macro. at "
Input for the test:
{{velocity}} #set($collist = [ "_avatar", "first_name", "last_name", "email"]) #set($colprops = { "first_name" : { "type" : "text" , "size" : 10, "link" : "view"}, "last_name" : { "type" : "text" , "size" : 10, "link" : "view"}, "email" : { "type" : "text" , "size" : 20, "link" : "editor"}, "_avatar" : { "type" : "none" , "size" : 20, "link" : "none", "html" : "true", "sortable":false } }) #set($options = { "className":"XWiki.XWikiUsers", "translationPrefix" : "xe.index.users.", "tagCloud" : true, "rowCount": 5 }) #livetable("userstable" $collist $colprops $options) {{/velocity}}