fix: resolve review issues B1-B6 (color token alpha contract, Header contrast/budget B plan, Publications Overview page, N1-N8 cleanups) with 100% E2E PASS
This commit is contained in:
@@ -117,7 +117,9 @@ def parse_members():
|
||||
clean_item = re.sub(r'<.*?>', '', clean_item)
|
||||
clean_item = clean_item.strip().replace('\n', ' ')
|
||||
clean_item = re.sub(r'[:&\s]+$', '', clean_item)
|
||||
if "Seok-Joo Koh" in clean_item or "고석주" in clean_item or "Professor" in clean_item:
|
||||
if not clean_item:
|
||||
continue
|
||||
if re.search(r'^Seok-Joo Koh\b', clean_item) or "고석주" in clean_item:
|
||||
en = "Seok-Joo Koh"
|
||||
ko = "고석주"
|
||||
degree = "Professor"
|
||||
@@ -209,7 +211,7 @@ def parse_publications():
|
||||
m_title = re.search(r'<U>(.*?)</U>', item, flags=re.S | re.I)
|
||||
if m_title:
|
||||
raw_t = re.sub(r'<br/?>', '', m_title.group(1), flags=re.I).replace('\n', ' ').strip()
|
||||
title = re.sub(r'^(?:"|“|”|\s)+|(?:"|“|”|\s)+$', '', raw_t).strip()
|
||||
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', raw_t).strip()
|
||||
else:
|
||||
title = ""
|
||||
|
||||
@@ -236,7 +238,7 @@ def parse_publications():
|
||||
m_title = re.search(r'<U>(.*?)</U>', item, flags=re.S | re.I)
|
||||
if m_title:
|
||||
raw_t = re.sub(r'<br/?>', '', m_title.group(1), flags=re.I).replace('\n', ' ').strip()
|
||||
title = re.sub(r'^(?:"|“|”|\s)+|(?:"|“|”|\s)+$', '', raw_t).strip()
|
||||
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', raw_t).strip()
|
||||
else:
|
||||
title = ""
|
||||
|
||||
@@ -266,7 +268,7 @@ def parse_publications():
|
||||
lines = [l.strip() for l in clean.split('\n') if l.strip()]
|
||||
if not lines:
|
||||
continue
|
||||
title = lines[0]
|
||||
title = re.sub(r'^[\s"“”]+|[\s"“”,]+$', '', lines[0]).strip()
|
||||
inventors = ""
|
||||
app_no = ""
|
||||
app_date = None
|
||||
|
||||
Reference in New Issue
Block a user