2008/4/24, Jorge Vargas <[EMAIL PROTECTED]>:
>
> > I found a solution.
> > I replaced:
> >     <p>${blogEntry.entryText}</p>
> > with:
> >      <p>
> >       <div class="beEntryText" py:for="line in
> > blogEntry.entryText.split('\n')">
> >         ${line}
> >       </div>
> >     </p>
> > Maybe not very meat, but it does what I want.
>
>
> if you want to omit the newlines, why don't you delete them on insert?


I do not want to delete them, I want them to be shown in the page. ;-}


it's a cleaner solution. Also as suggested in the other thread, try
> working out either with a markup language or a web editor. see
> http://cheeseshop.python.org/pypi/TurboTinyMCE/1.0.6 for example.


That is a next step. But as I am just learning TG this has to wait.

-- 
Cecil Westerhof

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

Reply via email to