Fixed external link issue in categories widget

see https://github.com/NodeBB/nodebb-widget-essentials/issues/8