If you have enter mode set to P, then it always wraps all text in a P tag. We default the config file to use BR instead for this reason. That will fix your problem.
config.autoParagraph = false;
may also address this issue if you don't want to change the enter mode.