Good point, thanks very much, but I think I'll just live with the way
it currently works.
What I've done is to take a bit more care how and where I place
template tags, and this has improved things somewhat.
On Dec 4, 1:25 am, adelevie <[EMAIL PROTECTED]> wrote:
> You may also want to look at Be
You may also want to look at BeautifulSoup. It is an html parser
writter for python. It has a method called soup.prettify() in which
"soup" is a string of html. prettify() outputs cleanly formatted html.
Approximation:
soup = "titlehello world"
soup.pretiffy()
>>>
t
Thank you for the detailed response, Malcolm. I wasn't aware of the
complexities of the issue and understand better now why it is the way
it is. It was something that was really bugging me, but I feel like I
can let it go now :)
I'm not skilled enough in Python to take a crack at solving the
prob
On Tue, 2008-12-02 at 18:39 -0800, Tonne wrote:
> I am interested to see if anyone could share their solutions for
> ensuring pretty HTML output.
>
> I have found achieving it to be a very uncomfortable compromise in
> that I seem to need to make my templates almost unreadable to do so,
> which
I am interested to see if anyone could share their solutions for
ensuring pretty HTML output.
I have found achieving it to be a very uncomfortable compromise in
that I seem to need to make my templates almost unreadable to do so,
which isn't really a practical solution.
Perhaps nicely formatted
5 matches
Mail list logo