mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 03:47:17 +00:00
<p> now OK in logbook entries
This commit is contained in:
@@ -59,7 +59,7 @@ LOGBOOK_PARSER_SETTINGS = {
|
||||
LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB
|
||||
|
||||
ENTRIES = {
|
||||
"2023": 83,
|
||||
"2023": 84,
|
||||
"2022": 94,
|
||||
"2019": 55,
|
||||
"2018": 95,
|
||||
@@ -408,8 +408,9 @@ def parser_html(year, expedition, txt, seq=""):
|
||||
place = triptitles[0]
|
||||
else:
|
||||
place = "Unknown"
|
||||
tripcontent = re.sub(r"</p>", "", triptext)
|
||||
tripcontent = re.sub(r"<p>", "<br /><br />", tripcontent).strip()
|
||||
# tripcontent = re.sub(r"</p>", "", triptext)
|
||||
# tripcontent = re.sub(r"<p>", "<br /><br />", tripcontent).strip()
|
||||
tripcontent = triptext.strip()
|
||||
|
||||
triptitle = triptitle.strip()
|
||||
# triptitle must be unique for a given date. [Why?!] We fix this here.
|
||||
|
||||
Reference in New Issue
Block a user