This question about Not sure...: Answered

Skinning extra <p /> issues

I'm trying to design my own skin templates but I've been struggling with extra <p /> showing up after </html> PatternSkin does not have that problem but WidgetsSkin as like 9 extra <p />

I've double checked many times that I don't have extra empty lines (even did that using binary editor). I've also tried to use various skin template tricks like have a TMPL:DEF that you recall using TMPL:P without success.

Even having an empty file as foswiki.myskin.tmpl results in an empty page with 2 <p /> !

Can't figure out how PatternSkin does it.

I was using 1.0.4 on Windows.

-- StephaneLenclud - 16 Apr 2009

There may be no newlines after the last character in the templates! So watch out with editors that add these by default.

-- ArthurClemens - 16 Apr 2009

I thought I fixed it by following your advice and removing new line at the end of my viewtopicactions template file but adding it back did not reproduce the problem. So I must have fixed it doing other stuff as I kept developing the skin. I'm puzzled smile

-- ArthurClemens - 16 Apr 2009

QuestionForm edit

Subject Not sure...
Extension WidgetsSkin
Version
Status Answered
Topic revision: r3 - 16 Apr 2009, StephaneLenclud - This page was cached on 11 Jan 2018 - 03:06.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License