Foswiki on GitHub is open for business! Next release meeting: Monday Nov. 17, 1300Z

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 distro:457d7a154436 distro:4eb101862aca
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 License