diff --git a/lms/lms/md.py b/lms/lms/md.py index 8105c72f..b02ed68f 100644 --- a/lms/lms/md.py +++ b/lms/lms/md.py @@ -105,7 +105,7 @@ def sanitize_html(html, macro): any broken tags. This makes sures that all those things are fixed before passing to the etree parser. """ - soup = BeautifulSoup(html, features="html5lib") + soup = BeautifulSoup(html, features="lxml") nodes = soup.body.children classname = "" if macro == "YouTubeVideo": diff --git a/lms/public/css/style.css b/lms/public/css/style.css index f92558eb..13d6229e 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -389,7 +389,7 @@ input[type=checkbox] { } .course-content-parent .chapter-description { - font-size: 0.7rem; + font-size: 0.75rem; } .chapter-icon { @@ -1114,7 +1114,7 @@ pre { .job-card { display: flex; - position: relative; + align-items: center; } .company-logo { diff --git a/lms/www/courses/course.html b/lms/www/courses/course.html index b37663f1..25d48373 100644 --- a/lms/www/courses/course.html +++ b/lms/www/courses/course.html @@ -1 +1,320 @@ -` +{% extends "templates/base.html" %} +{% block title %}{{ course.title }} +{% endblock %} + +{% block head_include %} +{% include "public/icons/symbol-defs.svg" %} + +{% endblock %} + +{% block content %} +