diff --git a/python_scripts/dynamic_data.py b/python_scripts/dynamic_data.py index b1bc8bf0..7bfa9108 100644 --- a/python_scripts/dynamic_data.py +++ b/python_scripts/dynamic_data.py @@ -131,6 +131,12 @@ def get_githubData(): if (p in projects_api): p_api = projects_api[p] + + # replace \u2019 with ' in description + p_api['description'] = p_api['description'].replace('\u2019', "'") + # remove emojis from description + p_api['description'] = p_api['description'].encode('ascii', 'ignore').decode('ascii') + proj['description'] = p_api['description'] proj['category'] = p_api['category'] proj['project_url'] = p_api['project_url']