Javier javiermon at gmail.com
Wed Mar 1 09:36:58 GMT 2006


Any successfull kubuntu user out there running turbogears in dapper? I
have a very strange bug. In my .kid templates I have inline javascript
wich uses MochiKit. The bug is that the web server renders html output
which inserts a literal \n at the end of every line in the <script>
section, so for instance this (.kid template):
<script type="text/javascript">
function error(){

will transform into (html):
<script type="text/javascript">
function error(){\n

And konqueror will complain about invalid HTML and is uncapable on
accessing my js functions on ay event. I'm using Kate as the text
editor and I've filed bugs, but no answer yet, so I was wondering if
someone here is trying out turbogears and has been successfull with it
or it's a common error... Any help appreciated.

ps: This is the bug report: http://trac.turbogears.org/turbogears/ticket/627
The proyect and invalid html output is attached there.




More information about the kubuntu-users mailing list