prevent fixLinks error when href is NoneType object

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>