From 81d6ff53c43f0ed7cc49f66c5505f36c0bf0f1b3 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Mon, 28 Oct 2024 19:34:45 +0100 Subject: [PATCH] Respect row flex in descriptions --- CHANGELOG.md | 1 + PFERD/crawl/ilias/ilias_html_cleaner.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f635719..e14f785 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ ambiguous situations. - Personal desktop/dashboard/favorites crawling - Crawling of nested courses - Downloading of links with no target URL +- Handle row flex on description pages ## 3.6.0 - 2024-10-23 diff --git a/PFERD/crawl/ilias/ilias_html_cleaner.py b/PFERD/crawl/ilias/ilias_html_cleaner.py index 0075784..e82906f 100644 --- a/PFERD/crawl/ilias/ilias_html_cleaner.py +++ b/PFERD/crawl/ilias/ilias_html_cleaner.py @@ -12,6 +12,13 @@ _STYLE_TAG_CONTENT = """ font-weight: bold; } + .row-flex { + display: flex; + } + .row-flex-wrap { + flex-wrap: wrap; + } + .accordion-head { background-color: #f5f7fa; padding: 0.5rem 0;