Commits

Andriy Kornatskyy committed 164f001

Fixed issue with consumed whitespace.

Comments (0)

Files changed (3)

demos/template/content/templates-wheezy/public/home.html

 <div id="welcome">
     <h2>Welcome!</h2>
     <p>
-    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-    Donec quis tempus tellus. Curabitur faucibus fermentum enim,
+    Lorem ipsum dolor sit amet, consectetur adipiscing elit. \
+    Donec quis tempus tellus. Curabitur faucibus fermentum enim, \
     quis aliquet.
     </p>
 </div>

demos/template/content/templates-wheezy/shared/master.html

         @def title():
         @end
         @title()</title>
-        <link href="@path_for('static', path='css/site.css')"
-        type="text/css" rel="stylesheet" />
+        <link href="@path_for('static', path='css/site.css')" \
+            type="text/css" rel="stylesheet" />
     </head>
     <body>
         <div class="page">
                     <h1><a href="@path_for('default')">My Site</a></h1>
                 </div>
                 <div id="logindisplay">
-                    @inline("shared/snippet/menu-signin.html")
-                    @inline("shared/snippet/menu-locale.html")
+                    @include("shared/snippet/menu-signin.html")
+                    @include("shared/snippet/menu-locale.html")
                 </div>
                 <div id="menucontainer">
-                    @inline("shared/snippet/menu-header.html")
+                    @include("shared/snippet/menu-header.html")
                 </div>
             </div>
             <div id="main">
                 <div id="footer">Version @__version__</div>
             </div>
         </div>
-        @inline("shared/snippet/script.html")
+        @include("shared/snippet/script.html")
         @def script():
         @end
         @script()\

demos/template/content/templates-wheezy/shared/snippet/script.html

 @require(path_for)
 <script src="@path_for('static', path='js/jquery-1.7.1.min.js')"
-    type="text/javascript"></script>
+ type="text/javascript"></script>
 <script src="@path_for('static', path='js/core.js')"
-    type="text/javascript"></script>
+ type="text/javascript"></script>
 <script src="@path_for('static', path='js/autocomplete.js')"
-    type="text/javascript"></script>
+ type="text/javascript"></script>