Fix bug #7: Crash on document with a single bold word