fix issue with <ref> tags

makes tags come trough