i get a weird problem… apparently, your plugin conflicts with WordPress.
The problem seems to come from the carriage returns your plugin produces in the html code (i’m using firefox 1.0 on a WinXP platform). the browser rightly processes them as white spaces, so everything looks fine in the editor. but wordpress then wrongly converts them into line breaks!