It all comes down to a trade off. Do you want you view or your final output to be legible and aesthetically pleasing according to some subjective human standard?.
Don't get me wrong, I dislike the empty lines as much as you do but as Massimo said the view only outputs what it has: this view <ul>{{for x in range(1,r+1):}}<li>{{if x==c:}}<b>{{=x}}</b>{{else:}} {{=x}}</li>{{pass}}{{pass}}</ul> could produce this <ul><li>1</li><li>2</li><li><b>3</b></li><li>4</li><li>5</li></ul> but a more legible <ul> {{for x in range(1,r+1):}}<li> {{if x==c:}}<b>{{=x}}</b> {{else:}}{{=x}} </li> {{pass}} {{pass}} </ul> will give you this <ul> <li> 1 </li> <li> 2 </li> <li> <b>3</b> </li><li> 4 </li> <li> 5 </li> </ul> and both outputs would look exactly the same in a browser. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.