Ticket #411 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

XHTML compatibility: empty elements

Reported by: FND Owned by: MartinBudden
Priority: trivial Milestone: 2.3
Component: core Version:
Severity: trivial Keywords:
Cc:

Description

According to the XHTML specs'  HTML Compatibility Guidelines, there should be a space character before the trailing / and > characters of empty elements. So, for example, this...

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

... should actually be

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

Attachments

ticket411.patch Download (0.5 KB) - added by MartinBudden 5 years ago.

Change History

Changed 6 years ago by FND

Aside:
Personally, I think TiddlyWiki should be HTML rather than XHTML; browser support for XHTML is low, and sending XHTML as HTML is just plain silly.
However, it's probably too late to change that now - and maybe all major browsers will actually end up supporting XHTML properly...

Changed 6 years ago by MartinBudden

  • milestone set to 2.3

Changed 5 years ago by MartinBudden

  • milestone set to 2.3

Changed 5 years ago by MartinBudden

Changed 5 years ago by MartinBudden

  • owner changed from JeremyRuston to MartinBudden
  • status changed from new to assigned

Changed 5 years ago by JeremyRuston

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in changeset:3095

Changed 5 years ago by FND

retraction:
I am now convinced that TiddlyWiki being XHTML actually does make sense, because it enables external tools (like  r4tw) to parse TW documents as XML (also see  this discussion).

Note: See TracTickets for help on using tickets.