Added test to handle spaces in taskHTML field