fix ci
All checks were successful
CI/CD Pipeline / test (push) Successful in 59s

This commit is contained in:
2024-05-26 17:11:13 +02:00
parent 9cd39e3b06
commit 2463fb1dd5
4 changed files with 210 additions and 199 deletions

View File

@ -38,6 +38,12 @@ move_para_headers_into_content = true
find = "<gdash />"
replace_with = "-"
# Replace all 'erltext's which have subsections...
[[parser.replace_rules]]
find = """<absatz typ="erltext" 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"
replace_with = "ARTIKEL 48"
# Replace all 'erltext's which have subsections...
[[parser.replace_rules]]
find = """<absatz typ="erltext" 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">"""