Changes for page TestMacroSyntax10UsedFrom10
Last modified by Ludovic Dubost on 2009/04/30 10:41
From version 5.1
edited by Ludovic Dubost
on 2009/04/30 10:33
on 2009/04/30 10:33
Change comment:
There is no comment for this version
To version 9.1
edited by Ludovic Dubost
on 2009/04/30 10:41
on 2009/04/30 10:41
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2.01 +XWiki 1.0 - Content
-
... ... @@ -1,5 +1,5 @@ 1 - {{include document="Test.TestMacroSyntax10"output=false/}}2 - {{velocity}}3 - This works but the includeup there will include the content of the macrofileso generate a lot of white spaces and it will try(i think) converting the macro file tosyntax 2.0 which generatesa risk of breakingthe macros if theyre complexand include JS1 +This works but will include the content of the macro document in the syntax 1.0 document. This is not a problem in syntax 1.0 as long as only white spaces or white lines are coming out of the document. Now we could make a slight modification to includeMacros to catch the resulting content and not show it. 2 + 3 +#includeMacros("Test.TestMacroSyntax10") 4 4 #mymacroinsyntax10doc("World") 5 - {{/velocity}}5 +