[xwiki-devs] [Proposal] Ignore first and last NewLine in Macros?
Hi, The question arise whether we want to ignore first and last NL in macros in order to have the following be the same: {{macro}}content{{/macro}} {{macro}} content {{/macro}} For ex, most users will probably not expect that the following will generate 1 empty line: {{velocity}} content {{/velocity}} WDYT? Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
Vincent Massol wrote:
Hi,
The question arise whether we want to ignore first and last NL in macros in order to have the following be the same:
{{macro}}content{{/macro}}
{{macro}} content {{/macro}}
For ex, most users will probably not expect that the following will generate 1 empty line:
{{velocity}} content {{/velocity}}
WDYT?
+1 I can't see any downsides. -- Sergiu Dumitriu http://purl.org/net/sergiu/
On Mon, Feb 23, 2009 at 1:49 AM, Sergiu Dumitriu <[email protected]> wrote:
Vincent Massol wrote:
Hi,
The question arise whether we want to ignore first and last NL in macros in order to have the following be the same:
{{macro}}content{{/macro}}
{{macro}} content {{/macro}}
For ex, most users will probably not expect that the following will generate 1 empty line:
{{velocity}} content {{/velocity}}
WDYT?
+1
I can't see any downsides.
+1 as well. Guillaume
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/
+1 Vincent Massol wrote:
Hi,
The question arise whether we want to ignore first and last NL in macros in order to have the following be the same:
{{macro}}content{{/macro}}
{{macro}} content {{/macro}}
For ex, most users will probably not expect that the following will generate 1 empty line:
{{velocity}} content {{/velocity}}
WDYT?
Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 On Mon, Feb 23, 2009 at 01:39, Vincent Massol <[email protected]> wrote:
Hi,
The question arise whether we want to ignore first and last NL in macros in order to have the following be the same:
{{macro}}content{{/macro}}
{{macro}} content {{/macro}}
For ex, most users will probably not expect that the following will generate 1 empty line:
{{velocity}} content {{/velocity}}
WDYT?
Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
participants (5)
-
Guillaume Lerouge -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol