fix a bug about rending link: use |safe filter to resolve