@@ -43,6 +43,8 @@ def _constructACMClass(meta: DocMeta) -> Optional[list]:
4343
4444
4545def _transformAuthor (author : dict ) -> dict :
46+ # TODO: we should not be stripping punctuation from the name here.
47+ # This should be handled by the analyzer. This is related to ARXIVNG-543.
4648 author ['first_name' ] = _strip_punctuation (author ['first_name' ]).strip ()
4749 author ['full_name' ] = re .sub (r'\s+' , ' ' , f"{ author ['first_name' ]} { author ['last_name' ]} " )
4850 author ['initials' ] = [pt [0 ] for pt in author ['first_name' ].split () if pt ]
@@ -81,7 +83,7 @@ def _constructDOI(meta: DocMeta) -> List[str]:
8183TransformType = Union [str , Callable ]
8284_transformations : List [Tuple [str , TransformType , bool ]] = [
8385 ("id" , lambda meta : meta .paper_id if meta .is_current else _constructPaperVersion (meta ), True ),
84- ("abstract" , "abstract " , False ),
86+ ("abstract" , "abstract_utf8 " , False ),
8587 ("authors" , _constructAuthors , True ),
8688 ("authors_freeform" , "authors_utf8" , False ),
8789 ("owners" , _constructAuthorOwners , False ),
0 commit comments