Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-01-17 12:15:00

Martin_Edney
New member
Registered: 2005-03-30
Posts: 4

<em> and <i> tags for italics

I'm using a nightly release of xinha downloaded on 11 January 2006

I'm finding that if I italicise text in a xinha text area using IE 6.0 it produces code with <em> tags in, whereas Firefox 1.0.7 produces code with <i> tags in.

This probably wouldn't matter too much, except that my application is a tool to allow users to edit contents of a database, and it compares database contents with form contents to see if the user has changed anything without saving.  Unfortunately if one person edits a record using IE, and then someone else loads the same record later using Firefox, xinha in Firefox changes the <em> tags to <i> tags in my text areas, and so warns the user that they've changed the data.

I can work-around this on the server when doing the comparison, but I was just puzzled as to why xinha running in the two browsers is working so differently.

Thanks,

Marrtin

Last edited by Martin_Edney (2006-01-17 12:20:48)

Offline

#2 2006-01-18 08:54:35

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: <em> and <i> tags for italics

Because the browsers implement it differently internally.  Firefox specifically uses the old presentational tags (I/B), while IE does the right thing and uses proper semantic markup (em/strong).


James Sleeman

Offline

#3 2006-01-19 10:29:02

Martin_Edney
New member
Registered: 2005-03-30
Posts: 4

Re: <em> and <i> tags for italics

Thanks James.  For the benefit of other people, the same problem occurs with Firefox using <b> and IE using <strong>.

Offline

Board footer

Powered by FluxBB