What I have in template.kid (notice one long string without spaces
between html tags):
<div style="padding-left:2px;padding-top:7px;"><a href="">target="com" title="my Weblook"><img
src="" width="92"
height="18" alt="my Weblook" style="margin-left:2px"/></a><a
href="" target="com" title="Setup"><img
src="" width="48" height="18"
alt="Setup" style="margin-left:2px"/></a></div>
What TurboGears gives me in browser:
<div style="padding-left:2px;padding-top:7px;">
<a href="" target="com" title="my Weblook">
<img src="" alt="my
Weblook" height="18" style="margin-left:2px" width="92" />
</a>
<a href="" target="com" title="Setup">
<img src="" alt="Setup" height="18"
style="margin-left:2px" width="48" />
</a>
</div>
which screws up the design and look of the page.
Is there any parameter which allow to disable this reformatting?
Thanks!
Yes in Kid, but not in TurboKid. I can't remember offhand the name, but there is a property on the Kid serializer that you can set to turn off this formatting.
This may be something to set automatically anyway. It seem like good default behavior to not have Kid reformat the document structure.
-- David
http://www.traceback.org

