made bold/italic selection more robust
made bold/italic selection more robust

SpontaneousCMS/spontaneous,magnetised/spontaneous,opendesk/spontaneous,opendesk/spontaneous,mediagreenhouse/spontaneous,opendesk/spontaneous,SpontaneousCMS/spontaneous,magnetised/spontaneous,SpontaneousCMS/spontaneous,mediagreenhouse/spontaneous,magnetised/spontaneous,mediagreenhouse/spontaneous