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

Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
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
   $line = '<p />';    # SMELL: should be <p></p>

This can eiter be:

-- 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
Priority Normal
CurrentState Closed
Checkins distro:457d7a154436 distro:4eb101862aca
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen - This page was cached on 09 Oct 2015 - 05:06. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License