Skip to content

Commit fc6fd8a

Browse files
Tapanitomvadari
andauthored
Add optional plural option for authors (#362)
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
1 parent 4100ca2 commit fc6fd8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/xls_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def extract_xls_metadata(content: str, folder_name: str) -> Optional[XLSDocument
6060
patterns = {
6161
"title": r"[tT]itle:\s*(.*?)(?:\n|$)",
6262
"description": r"[dD]escription:\s*(.*?)(?:\n|$)",
63-
"authors": r"[aA]uthor:\s*(.*?)(?:\n|$)",
63+
"authors": r"[aA]uthors?:\s*(.*?)(?:\n|$)",
6464
"status": r"[sS]tatus:\s*(.*?)(?:\n|$)",
6565
"category": r"[cC]ategory:\s*(.*?)(?:\n|$)",
6666
"created": r"[cC]reated:\s*(.*?)(?:\n|$)",

0 commit comments

Comments
 (0)