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

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy