Bug fix; wrapped html parser in try block
Bug fix; wrapped html parser in try block

Failure was occuring when html parser threw
errors.

Wrapped parseFromString in a try catch block.

Change-Id: I0f930e2fbfd857f44262f2ab485e1595f2cf4cb1

wikimedia/citoid,wikimedia/citoid,wikimedia/citoid