converts only some white spaces to non-breaking