NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11746 for general documentation changes for release 1.1.6. Use Item9693 for docu changes for release 1.2 and 2.0.

Item871: first line of topic has to be empty for correct markup

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Closed Extension PublishPlugin  
If I publish a topic e.g. with the standard print skin the first line appears verbatim in the static html page (this is ugly e.g. for a first level heading). This can be prevented if the first line is completely empty and the content only starts on the second line. But then, the next time I edit the topic again, this empty first line is discarded automatically. A working hack is to make the first line a nop and then an empty line. But that's not a workable approach with a larger user base. This problem does not occur with the basic_publish skin, yet with everything derived from PatternSkin I have this problem.

-- ChristophScheurer


I don't see this effect; i get output published according to the skin I select.

It sounds like the version of pattern skin you are using may have been locally modified....

-- CrawfordCurrie - 18 Mar 2009

I had the same issue, I had to modify the TMPL:DEF{"content"} definition so that there is an empty line before TEXT.

(I took pattern skin and created a publish skin)

-- MarcSCHAEFER - 09 May 2009

pattern is not a publishable skin; it has many dynamic components. Given that this works with basic_publish, and Marc has provided a workaround, I'm lowering the priority from Urgent to Low.

-- CrawfordCurrie - 16 May 2009

TEXT is used in a horrible way by the View script, as a split anchor, and a newline is silently injected when the split is reassembled. Simulated by adding in a newline.

-- CrawfordCurrie - 18 May 2009

ItemTemplate edit

Summary first line of topic has to be empty for correct markup
ReportedBy ChristophScheurer
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component PublishPlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins Foswikirev:3931
ReleasedIn
Topic revision: 18 May 2009, CrawfordCurrie
 
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