middlebury / coursecatalog

This Course-Catalog is a project to develop a web front-end for searching and browsing course information stored in Banner.
https://github.com/middlebury/coursecatalog/wiki
GNU General Public License v3.0
9 stars 2 forks source link

Clean messy HTML in course descriptions #15

Closed adamfranco closed 6 years ago

adamfranco commented 6 years ago

The course catalog currently doesn't touch HTML tags in descriptions, but these may be problematic for downstream data consumers that expect valid markup.

Here is an example of a course description that is causing problems:

<BR><B>Security and Development in the Francophone World</B><p>
In this course, we will examine two major inter-connected themes of urgency and relevance in the contemporary Francophone world: security and development.
We’ll research and discuss complex security concerns in a rapidly changing political environment – both within France and in the wider geographical area of French influence. We will also use selected case studies to address issues of development throughout the Francophone world - including debt, sustainable economy, trade, science/technology, and education.Finally, we will explore connections between these two focus areas. <p>Students will improve all key language skills through activities such as discussion, use of authentic audiovisual and social media sources, creative projects, debates, guest speaker interactions and oral presentations. <p><B> Key Topics: Security</B> <p>

Border Control: Issues of Humanitarian Relief and National Security (illegal immigration, refugees, arms smuggling, human trafficking, etc.)<p>
Islamophobia and Security after 9/11<p>
French response to international terrorism, defense policies and collaboration within the European Union<p>
Food, land and water security in an era of climate change
<p><B> Key Topics: Development</B> <p>
Roles of the International Monetary Fund, NGOs, private and corporate sectors and World Bank in national/regional economies<p>
Economic initiatives such as microfinance and start-ups<p>
Women’s empowerment through education, training and family planning<p>
Fair trade and sustainable agriculture<p>
Science/technology <p>