#409: Kid's formatting puts blank space in a textarea
---------------------+------------------------------------------------------
Reporter: kevin | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 0.9
Component: Kid | Version:
Severity: normal | Resolution:
Keywords: develix |
---------------------+------------------------------------------------------
Comment (by salty-horse):
OK, this is easy to fix but ugly:
In turbogears/widgets/forms.py, the TextArea template should include
{{{xmlns="http://www.w3.org/1999/xhtml"}}}.
This is nessecary because treats uses different namespaces for HTML and
XHTML, and kid's serialization.py uses namespaces to catch the TEXTAREA
spacing problems.
(Perhaps other 'special' elements have the same problem!)
The reason I think this is because the xmlns="" string appears in the
output.
So, this requires committing. I tested it with kid's html and xhtml
output. works both cases. (prints out the xmlns only in the xhtml output
mode)
I think the xmlns issue is worth bringing up to the Kid developers.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/409>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---