Updated hashTag logic so that surrounding spaces get stripped first. This is so that " hash " does not get hashed to "-hash-"