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 edit
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

This topic: Tasks > WebHome > Item2784
Topic revision: 11 Dec 2008, UnknownUser
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads