• 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.

Rendering a topic with plain.classic skin generates a few extra <p /> at the bottom of the page.

This causes problem if like me you want to show a topic with just an image from another topic using inline frame <iframe>. It adds noises after the image causing the topic in the <iframe> to be bigger that the image itself. So if your frame was calibrated to be the same size as the picture it then shows scrollbars and that's not what you I want wink I had the same rendering behavior with both IE and Firefox (Windows and Linux).

A workaround is to remove newline character from the last few lines of view.plain.classic.tmpl.

So you get something like that:

%META{"form"}%%META{"attachments"}%#PageBottom</body></html>

Instead of:

%META{"form"}%
%META{"attachments"}%
#PageBottom</body></html>

But this does not seem to be a proper fix. My guess is that there is an issue with the template processing code. Then again I don't know much about template processing in TWiki.

-- TWiki:Main.StephaneLenclud

This is probly too instrusive a change to include in the 4.1.0 release (will need with a final, clean-HTML step, or some cleverness in readTemplate)

as its a problem for all skins - pattern has just managed to find a way to stop it from happening

-- SD

Agreed, too risky for 4.1.0 release to make a change now.

This bug is probably an artefact of removing the "kill leading and trailing empty lines" feature that was done in one of the 4.0.x releases. Incompatible spec changes usually bite back.

-- PTh

odd, I recal having the same issues in Cairo and Bejing - but really, water under one bridge or another

-- SD

ItemTemplate
Summary template system often generates extra <p /> at the bottom of the page
ReportedBy TWiki:Main.StephaneLenclud
Codebase 4.0.1, 4.0.3, 4.0.4, 4.0.5, ~twiki4
SVN Range TWiki-4.1-beta1, Mon, 24 Jul 2006, build 11161
AppliesTo Engine
Component

Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2007-01-11 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback