Use dashes instead of nbsp in namedEntity

browser support is inconsistent