You are not logged in.
Pages: 1
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
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
Thanks James. For the benefit of other people, the same problem occurs with Firefox using <b> and IE using <strong>.
Offline
Pages: 1