On 13 Oct 2007, at 23:23, Anand wrote:
> # view.html
>> ...
>>             <div class="entry_content">
>>                 $make_html(entry.excerpt)
>>                 $entry.content
>>             </div>
>
>
> Why not do this:
>
>      <div class="entry_content">
>          <pre>$entry.excerpt</pre>
>          $entry.content
>      </div>

Presumably because then it would be ugly and monospaced.
You could change the font with CSS, but <pre> is more than just auto- 
linebreaking... its side effects would probably be undesirable.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to