Reintroduce catch blocks for parse errors, fix assumed href attr.