Skip to content

Commit

Permalink
improve fetch_content
Browse files Browse the repository at this point in the history
  • Loading branch information
robindemourat committed Nov 22, 2023
1 parent 0c83881 commit 7c2f075
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datascripts/fetch_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"&lt;", r"<", part)
part = re.sub(r"&gt;", r">", part)
# React requirements
part = re.sub(r"(</?)caller", r"\1Caller",
part) # caller -> Caller
part = re.sub(r"(</?)link", r"\1Link", part) # link -> Laller
part = re.sub(r"(</?)link", r"\1Link", part) # link -> Caller
part = re.sub(r"class(=\")", r"className\1",
part) # class -> className

Expand Down

0 comments on commit 7c2f075

Please sign in to comment.