view the source of http://develop.twiki.org/~develop/cgi-bin/edit/Bugs/ItemXXXXXXXXXX?templatetopic=Bugs.HideTextarea&formtemplate=Bugs.ItemTemplate&_T=0501092906&action=form
Arthur observed that it started happening when there were empty lines at the end of templated
ArthurClemens wbniv, SvenDowideit: The create new bug entry template has 2 <p />s at the bottom
SvenDowideit poop :)
SvenDowideit ArthurClemens, i've commented on http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item825
SvenDowideit do the 2 <p /> cause a problem?
* _Lewellyn has a NatSkin question... :/
SvenDowideit where's Nat when you need him :)
ArthurClemens Functionally not, just that the page has a white bar at the top.
SvenDowideit mmm, 'the page'
SvenDowideit which page exactly?
SvenDowideit ok, i see no white bar (but then that might be because i'm dense)
SvenDowideit no white bar in konqurer
SvenDowideit but i see what you mean in firefox
SvenDowideit so you mean the rendered output, not the / one of the topics
SvenDowideit i see one <p /> between the h1, and then input name='text'
ArthurClemens y, the rendered page source has 2 <p /> at the bottom
SvenDowideit and then 2 at the bottom
ArthurClemens these 2
ArthurClemens highly illegal!
ArthurClemens It happens since a few weeks
SvenDowideit are they not on all edit rendered pages?
* alele (firstname.lastname@example.org) has left #twiki ("Fui embora")
ArthurClemens no, only new item page
SvenDowideit very very interesting
ArthurClemens it happens since a few weeks when template files have empty lines at the bottom
ArthurClemens the last char of the template must not be a newline
SvenDowideit ok, thats good information!
SvenDowideit or we should clean up when we load the tmeplate?
SvenDowideit so we are not so brittle?
arg, so twiki can't clean up the templates when it loads them from disk (which is just a workaround, anyway), because some templates may very well want empty lines at the end. so, i'm updating the docs in TWiki.TWikiTemplates
there might still be a problem with templates loaded from topics? (given twiki's propensity to add bonus LF's at the end of topics)