-
Yep. The problem is on your side. Properly encode things and it will work.
I can't reproduce it on this page adding your link though TinyMCE:
http://tinymce.moxiecode.com/examples/example_21.php
Since it does valid encoding of the & signs within links.
Follow that pattern and it will work. I can't reproduce this on any browser on that example page so this is not a bug but an...
2010-01-07 15:07:47 UTC in TinyMCE
-
The initial code needs to be properly encoded first so:
Becomes in the textarea:
<a href="?a=1&b=2"></a>
Then the browser will decode the textarea to a raw value of:
And TinyMCE will pick that one up and then the regexp will not fail nor the innerHTML encoding since in your case the string would have been...
2010-01-07 14:46:30 UTC in TinyMCE
-
It is that simple test is not valid test is and then it will find the entity and properly decode it. Textarea contents must be encoded as well. test but <a href="page.html?a=b&c=d">test</a> is valid.
2010-01-07 14:35:57 UTC in TinyMCE
-
I added this fix to the SVN. I've not setup unit tests for it yet will try to do that or if you feel like helping out there as well let me know. Anyway, thanks for the patch.
2010-01-07 13:58:55 UTC in TinyMCE
-
I think this is the common encoding issue with textareas. You need to properly encode things in the textarea. This is incorrect: cc. Check the TinyMCE FAQ for details.
2010-01-07 13:47:25 UTC in TinyMCE
-
Don't use the getRng(true) command in key events or similar it will break the selection completely it's not designed to work in that context. We have made major changes to this logic so check out the 3.3 version from the SVN trunk and see it you can reproduce it there.
2010-01-07 13:41:54 UTC in TinyMCE
-
I changed the regexp but not to solve the bug but to reduce the unnecessary encoding that's being done if it though it wasn't entities. The main problem here is that IE thinks it's an entity since you have a ; at the end and an invalid & sign. Use proper HTML encoding according to W3C and it will work file. I.e: a=1&b=2, a=1&b=2 is not valid. IE will still break things if you mix in proper...
2010-01-07 13:40:18 UTC in TinyMCE
-
spocke committed revision 1275 to the TinyMCE SVN repository, changing 9 files.
2009-12-23 16:50:16 UTC in TinyMCE
-
spocke committed revision 1274 to the TinyMCE SVN repository, changing 7 files.
2009-12-23 16:15:01 UTC in TinyMCE
-
spocke committed revision 1273 to the TinyMCE SVN repository, changing 20 files.
2009-12-10 14:52:33 UTC in TinyMCE