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 Item9693 for docu changes for 1.2 and 2.0.

Item9607: Fix XHTML validation by not self-closing the paragraph tag

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
Foswiki's default DOCTYPE is XHTML Transitional. XHTML does not (officially) allow self closing paragraph tags, but Foswiki generates one for each empty line.

Line 1188 in Render.pm:
   $line = '<p />';    # SMELL: should be <p></p>

This can eiter be:
<p></p>
or
<p>

-- ArthurClemens - 02 Sep 2010

 

ItemTemplate edit

Summary Fix XHTML validation by not self-closing the paragraph tag
ReportedBy ArthurClemens
Codebase 1.1.3 beta1, trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:11049 Foswikirev:11050
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen
 
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