Project

General

Profile

Actions

Bug #15069

closed

If doctype is not XHTML, closed metatags prevent w3c validation

Added by Nico de over 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-10-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If the doctype is not XHTML, the pages created by Typo3 won't validate, because the end tags of the metatags are always closed: />
This is how it should be with XHTML but not with HTML 4 or HTML 4.1.
There metatags should have the form <meta ... >

With the backslash at the endtag tha validator complains:
character data is not allowed here. /

It is easily to fix it. Substitute all hardcoded endtags in pagegen class with a variable $endtag and depending on the chosen doctype it can be '/>' or '>'.

(issue imported from #M1626)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14246: charset and generator meta tags are written in XHTML by defaultClosedSusanne Moog2004-07-21

Actions
Actions #1

Updated by Nico de over 18 years ago

Sorry, now I found it was reported in Bug 0000236. (I searched for metatag before and didn't find it).

So it's obsolete (but not solved yet).

Actions

Also available in: Atom PDF