Prevent bash vi multiline collapse
===

When doing a command line edit in Ubuntu Precise bash how do I prevent vi from converting

    for ii in `ls -a`
    do
        echo $ii
    done

to this...

    for ii in `ls -a`; do echo $ii; done

Even if I gsub the ';' for a '^M', when I :wq out of the tmp file it reverts to semicolon.

I have "set -o vi" and "EDITOR=vi" in my .bashrc file. Otherwise vanilla install.