Edit: My assumptions about encoding were incorrect. I'm leaving the question as originally asked in case others come here with the same misunderstanding.
When I include a link in some text in the editor that includes a querystring, then view the source code, I can see that it's converted any &
characters in the href
to &
, which breaks the links.
<a href="/foo?one=1&two=2">A link</a>
becomes
<a href="/foo?one=1&two=2">A link</a>
and if I change it back to just &
in the source, click Ok on the view source dialog, then immediately view source again, it's already worked its charms and encoded the &
once again.
Is there a way to cue the editor to go ahead and convert those outside tag attributes, but not mess with those in attributes?
Using an older version (4.0.12), but I see the behavior on the current live sample right on tinymce.com, so if it's a bug it looks like it hasn't been fixed. But I am wondering if it's just a setting I'm missing.
Relevant questions: