Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.9 M2
-
None
-
Unknown
-
Description
Inputting the following code in a page:
{{velocity}} #set($columns = ["title", "doc.author", "doc.creationDate", "_actions"]) #set($columnsProperties = { "title" : { "type" : "text" , "link" : "view" , "size" : 10 }, "doc.author" : { "type" : "text" , "size" : 10 }, "doc.creationDate" : { "type" : "text" , "size" : 10 }, "_actions" : {"actions": ["edit","delete"]} }) #set($options = { "className":"XWiki.FeedEntryClass", "translationPrefix" : "bk_", "tagCloud" : true, "rowCount": 15, "selectedColumn" : "doc.creationDate", "defaultOrder" : "desc" }) #livetable("bookmarks" $columns $columnsProperties $options) {{/velocity}}
results in the following error being thrown:
Failed to execute macro: html 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.
I think it's caused by the way the html tags enclosing the #livetable macro are positioned in XE's vm files.