fix ci
Some checks failed
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
philipp 2024-05-26 17:12:31 +02:00
parent 3469af7832
commit 50c1e89e00
2 changed files with 14 additions and 4 deletions

View File

@ -38,7 +38,12 @@ move_para_headers_into_content = true
find = "<gdash />" find = "<gdash />"
replace_with = "-" replace_with = "-"
# Replace all 'erltext's which have subsections...
[[parser.replace_rules]] [[parser.replace_rules]]
find = """<absatz typ="erltext" ct="text" halign="j">""" find = """<absatz typ="erltext" ct="text" halign="j">("""
replace_with = """<absatz typ="abs" ct="text" halign="j">""" replace_with = """<absatz typ="abs" ct="text" halign="j">("""
# ... and replace all 'erltext's which have only one section
[[parser.replace_rules]]
find = """/ueberschrift><absatz typ="erltext" ct="text" halign="j">"""
replace_with = """/ueberschrift><absatz typ="abs" ct="text" halign="j">"""

View File

@ -50,7 +50,12 @@ replace_with = "ARTIKEL 42"
find = "+ARTIKEL 48" find = "+ARTIKEL 48"
replace_with = "ARTIKEL 48" replace_with = "ARTIKEL 48"
# Replace all 'erltext's which have subsections...
[[parser.replace_rules]] [[parser.replace_rules]]
find = """<absatz typ="erltext" ct="text" halign="j">""" find = """<absatz typ="erltext" ct="text" halign="j">("""
replace_with = """<absatz typ="abs" ct="text" halign="j">""" replace_with = """<absatz typ="abs" ct="text" halign="j">("""
# ... and replace all 'erltext's which have only one section
[[parser.replace_rules]]
find = """/ueberschrift><absatz typ="erltext" ct="text" halign="j">"""
replace_with = """/ueberschrift><absatz typ="abs" ct="text" halign="j">"""