ignore empty href attributes for interoperatibility with django-summernote