internationalscholarsprogram commited on
Commit
aa2b3e9
·
verified ·
1 Parent(s): a96a328

Bold Virtual Vetting Interview keyword

Browse files
Files changed (1) hide show
  1. app/services/utils.py +8 -0
app/services/utils.py CHANGED
@@ -219,6 +219,14 @@ def emphasize_keywords(text: str) -> str:
219
  flags=re.IGNORECASE,
220
  )
221
 
 
 
 
 
 
 
 
 
222
  return escaped
223
 
224
 
 
219
  flags=re.IGNORECASE,
220
  )
221
 
222
+ # Bold "Virtual Vetting Interview"
223
+ escaped = re.sub(
224
+ r'\b(Virtual\s+Vetting\s+Interview)\b',
225
+ r'<strong>\1</strong>',
226
+ escaped,
227
+ flags=re.IGNORECASE,
228
+ )
229
+
230
  return escaped
231
 
232