From f7691b8f1ca20e664f7a85473d49d06179824b97 Mon Sep 17 00:00:00 2001 From: Pishoy Girgis Date: Wed, 4 Sep 2024 16:25:13 +0200 Subject: [PATCH] [#171,#229][Crum/Flashcards] Add a Line Break between Meaning and Crum. This is obviously related to #171, but you might be wondering how it has anything to do with #229. The answer is that, with the current HTML, some text extractors see "Crum" and whatever precedes it as a single word, thus messing up with our search function (and also with text highlighting experience in the browser). Adding a line break is a way to ensure that this doesn't happen. --- flashcards/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flashcards/constants.py b/flashcards/constants.py index c947518998..a427c7b680 100644 --- a/flashcards/constants.py +++ b/flashcards/constants.py @@ -225,6 +225,7 @@ def _explanatory_alt(path: str) -> str: greek, roots_col("en-parsed", line_br=True, force=False), ), + "
", # Dictionary pages. field.cat( '',