Ticket #394 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

v4.01 complient code gets messed up by Xinha as xhtml

Reported by: Kim Steinhaug Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

Some code gets messed up by Xinha as its turned into XHTML style code, which we dont really want in HTML v4.01

The property in Xinha which seems to already address this is HTMLArea._closingTags This should however be expanded with more tags.

Add the following tag : iframe

Maby also look into script with src, could be a problem.

Forumrefer : http://xinha.gogo.co.nz/punbb/viewtopic.php?id=311

Attachments

htmlarea_closing.diff (1.1 kB) - added by ianb@… 8 years ago.
Patch to fix this bug

Change History

Changed 8 years ago by ianb@…

This got me too, but with 'textarea'. So at least script, textarea, and iframe should be added.

Actually, this table should be used: http://www.w3.org/TR/REC-html40/index/elements.html

Every tag there that doesn't have anything in the "end tag" column should be in that list. It's a long list, but I suspect for most it's uncommon for them to be empty, so it hasn't come up. However, once they show up empty the page gets all corrupted because Xinha turns them into an opening tag with an XHTML closing (which is ignored in HTML 4), which means the tag is dangling.

Changed 8 years ago by ianb@…

Patch to fix this bug

Changed 8 years ago by gogo

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

Applied changeset:412

Note: See TracTickets for help on using tickets.