Hi folks, I've been working on the overhaul of master.html and
welcome.html from quickstart, and would like some feedback.
I noticed that previously, lines have been broken to meet PEP standards.
I propose that we do *not* break lines at 80 chars in Genshi templates
because:
- the file is IMHO first and foremost an XML doc and not python code
- in an XML doc, lines should preserve XML structure over PEP
- it's enormously more convenient to the designers and front end coders
to have xml structure visible at a glance even if lines are long whereas
broken up lines are kindof a pain unless they are reaaaallly long
IE this:
<div>
<ul>
<li>
<a href="asdjadjalsdj;a" class="list of things that go past 80">
stuff
</a>
</li>
</ul>
</div>
is preferable to this:
<div>
<ul>
<li><a href="asak akjasd asdkljl" class=
"asds asdklj asd">stuff</a>
</li>
etc etc
Thoughts? Correct me if I'm wrong please!
Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---