Webgenz CMS is repeating whitespace before and after each line of a Macro value. Why?
[Top] Webgenz CMS is designed to repeat whitespace from a Content File before and after each line of a multi-line Macro value. This is a feature specifically designed to maintain the format and readability of a generated Document. Read more and see an example >. Parameter Passing To Macros [Top] Here’s a simple example of a Webgenz CMS Macro that can be used throughout your site. This is a great example of how you can pass parameters to Webgenz CMS Macros. Most web developers are familiar with using transparent “spacer” GIFs to control the layout of items on a page. With Webgenz CMS, you can create a general purpose Macro for this type of spacer GIF. The Macro would be defined as follows: [@SPACER(@w:1)(@h:1)]: [@] You can call this Macro with a width and/or height parameter to set the width and/or height of the spacer. If you don’t pass in either parameter, the width and height will default to 1. Here are a few examples of