If an image is added while editing a page and "no align" is selected as alignment option, the resulting code will align the image in the middle of the page. Other alignment option work correctly.
Expected code:
{{someimage.jpg?200|}}
Resulting code:
{{ someimage.jpg?200 |}}
This problem doesn't exist in 2011-05-25 "Rincewind" and has been introduced in RC1 2011-11-10 "Angua". The issue was also reproducable with the devel version snapshot (dokuwiki-latest.tgz) for today (2011-12-26).
The problem seems to originate from lib/scripts/media.js in the handling of the alignment options before code insert and has been tested to be reproducable at least with Firefox 9 and Internet Explorer 9. The attachement contains a quick fix for the problem (tested to work with the same browsers).