• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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 oh
SvenDowideit mmm
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?
ArthurClemens http://develop.twiki.org/~develop/cgi-bin/edit/Bugs/ItemXXXXXXXXXX?templatetopic=Bugs.HideTextarea&formtemplate=Bugs.ItemTemplate&_T=0501092906&action=form
SvenDowideit ok, i see no white bar (but then that might be because i'm dense)
SvenDowideit interesting
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 ?
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!
SvenDowideit ya
SvenDowideit mmm
ArthurClemens It happens since a few weeks
SvenDowideit are they not on all edit rendered pages?
* alele (n=alele@201009085134.user.veloxzone.com.br) 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) frown


Summary 2 <p /> at end of page
ReportedBy SvenDowideit
AppliesTo Engine
Priority Normal
CurrentState Closed

Checkins 7299 7304
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2005-11-04 - WillNorris
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback