TC for #1509

  1. Wait the editor to load
  2. Click the editing area
  3. Type "a " (a + [space])
  4. Hit the "Insert HTML"
  5. Switch to source. Expected results: "<p>a Some text</a>".