this code:

var test = document.createElement('div');
test.innerHTML = "<div>this is a test<br />with a new line</div>";
test = Element.extend(test);
alert(test.down('div').innerHTML);

returns 'this is a test<BR>with a new line'

it changes the valid '<br/>' to the invalid '<BR>'

im using IE7

are there any fixes for this? is it a browser issue or a prototype
issue?

thanks,
-ollie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to