This commit is contained in:
parent
bc9d8a9d1d
commit
949fd7f486
@ -63,7 +63,7 @@ pub fn starts_with_letter(_classifier_name: &str, instance_name: &str) -> bool {
|
||||
|
||||
pub fn starts_with_uppercaseletter(_classifier_name: &str, instance_name: &str) -> bool {
|
||||
instance_name.starts_with(|c: char| c.is_ascii_uppercase())
|
||||
&& instance_name.chars().nth(0) != Some('I')
|
||||
&& !instance_name.starts_with('I')
|
||||
&& (instance_name.chars().nth(1) == Some('.') || instance_name.chars().nth(1) == Some(')'))
|
||||
}
|
||||
|
||||
|
@ -95,8 +95,6 @@ impl Abschnitt {
|
||||
while let Some(child) = &c.peek() {
|
||||
if Ueberschrift::test_with_typ_and_content(child, "titel", "Beachte") {
|
||||
c.next();
|
||||
//<absatz typ="erltext" ct="beachte" halign="j">Zu Abs. 2: zum Bezugszeitraum vgl. § 33 Abs. 13</absatz>
|
||||
|
||||
let absatz = Absatz::parse(
|
||||
c.next()
|
||||
.expect("After a 'Beachte' title, we need an Absatz"),
|
||||
|
Loading…
Reference in New Issue
Block a user