I keep my templates in .tpl files with indentation

Ex:
<tal:block metal:define-macro="notification">
?<div class="ui-widget">
??<div tal:condition="exists: error" id="error" class="ui-state-error 
ui-corner-all">
???<p tal:repeat="err error" >
????<span class="ui-icon ui-icon-alert" style="float: left; margin-right: 
.3em;"></span>
????${err}</p>
??</div>
?</div>
?<div class="ui-widget">
??<p tal:condition="exists: msg" id="msg" class="ui-state-highlight 
ui-corner-all">
???<span class="ui-icon ui-icon-info" style="float: left; margin-right: 
.3em;"></span>
???${msg}
??</p>
?</div>
</tal:block>

I noticed that all indentation are thrown to the browser and looking for the 
XHTML source of page there are unnecessary 'tabs' in a front of XHTML.
Is there option/instruction to throw XHTML without such a prefixes like 'tabs'. 
XHTML will load faster.

Greetings


_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to