Hi,

iv found an bug replacing textarea-tag-elements.
Have a look at this:

<html>
<head>
 <script src="prototype.js" type="text/javascript"></script>
</head>
<body>
<script>
  function transformTinyMCE(div) { Element.replace(div,"<b>no!</
b>"); }
</SCRIPT>
<textarea name="aha" onclick="transformTinyMCE(this)">jipii</textarea>
</body>
</html>

The resulting htmlcode will be:
...</script>&lt;b&gt;no!&lt;/b&gt;</body>...
buggy in SeaMonkey 1.1.4 and Firefox 2.0.0.5.
NOTICE: Bug does not occour in Internet Explorer 6!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to