[Mageia-sysadm] [173] - do not produces empty lines, by using [%-, for xhtml validation (

root at mageia.org root at mageia.org
Thu Dec 16 01:34:47 CET 2010


Revision: 173
Author:   misc
Date:     2010-12-16 01:34:47 +0100 (Thu, 16 Dec 2010)
Log Message:
-----------
- do not produces empty lines, by using [%-, for xhtml validation (
problem signaled by Maarten Vanraes )

Modified Paths:
--------------
    identity/CatDap/trunk/root/template/pre
    identity/CatDap/trunk/root/template/wrapper

Modified: identity/CatDap/trunk/root/template/pre
===================================================================
--- identity/CatDap/trunk/root/template/pre	2010-12-16 00:34:38 UTC (rev 172)
+++ identity/CatDap/trunk/root/template/pre	2010-12-16 00:34:47 UTC (rev 173)
@@ -1,3 +1,3 @@
-[% MACRO l(text, args) BLOCK;
+[%- MACRO l(text, args) BLOCK;
     c.localize(text, args);
-END; %]
+END; -%]

Modified: identity/CatDap/trunk/root/template/wrapper
===================================================================
--- identity/CatDap/trunk/root/template/wrapper	2010-12-16 00:34:38 UTC (rev 172)
+++ identity/CatDap/trunk/root/template/wrapper	2010-12-16 00:34:47 UTC (rev 173)
@@ -1,7 +1,7 @@
-[% MACRO l(text, args) BLOCK;
+[%- MACRO l(text, args) BLOCK;
     c.localize(text, args);
-END; %]
-[% IF template.name.match('\.(css|js|txt)');
+END; -%]
+[%- IF template.name.match('\.(css|js|txt)');
      debug("Passing page through as text: $template.name");
      content;
    ELSE;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101216/fcccfbe7/attachment.html>


More information about the Mageia-sysadm mailing list