Number headers - ndash fix

This fixes a problem in which header IDs were being produced that had "--" in them, which was problematic for looking up KB articles by their URL title.

http://issues.liferay.com/browse/LRDOCS-1290

@codyhoag