From 7c2f0753e0369d4da5d0304d7e4a870ffff1304c Mon Sep 17 00:00:00 2001 From: Robin de Mourat Date: Wed, 22 Nov 2023 15:55:34 +0100 Subject: [PATCH] improve fetch_content --- datascripts/fetch_content.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/datascripts/fetch_content.py b/datascripts/fetch_content.py index 557f72fa..39f21aed 100644 --- a/datascripts/fetch_content.py +++ b/datascripts/fetch_content.py @@ -469,10 +469,13 @@ def set_humain_quote_id(item_metas): # MD issues with operations using * part = re.sub(r"(\d)\*(\d)", r"\1×\2", part) + # other MD issue + part = re.sub(r"<", r"<", part) + part = re.sub(r">", r">", part) # React requirements part = re.sub(r"( Caller - part = re.sub(r"( Laller + part = re.sub(r"( Caller part = re.sub(r"class(=\")", r"className\1", part) # class -> className