diff --git a/scripts/javadoc_messagecargo.py b/scripts/javadoc_messagecargo.py index d93b7c3..cf85e01 100644 --- a/scripts/javadoc_messagecargo.py +++ b/scripts/javadoc_messagecargo.py @@ -257,7 +257,7 @@ def build_javadoc(indent, old_javadoc, body): # merge with existing javadoc merged = old_javadoc.rstrip() merged = re.sub(r'\s*\*/\s*$', '', merged) # remove trailing "*/" - merged += f"\n{indent} *
\n" + merged += f"\n{indent} *
\n" merged += new_table + "\n" merged += f"{indent} */\n" return merged diff --git a/scripts/javadoc_messageparse.py b/scripts/javadoc_messageparse.py index 69e63a1..ad76b37 100644 --- a/scripts/javadoc_messageparse.py +++ b/scripts/javadoc_messageparse.py @@ -52,7 +52,7 @@ def build_javadoc(indent, assignments, existing_javadoc=None): existing_javadoc = re.sub(r'\s*\*\/\s*$', '', javadoc_text) javadoc = existing_javadoc javadoc += f"{indent} *" - javadoc += f"{indent} *
" + javadoc += f"{indent} *
" javadoc += f"{indent} *" else: javadoc = f"{indent}/**\n" diff --git a/scripts/javadoc_messageprops.py b/scripts/javadoc_messageprops.py index 4b172e6..e168a4c 100644 --- a/scripts/javadoc_messageprops.py +++ b/scripts/javadoc_messageprops.py @@ -45,7 +45,7 @@ def replacement(match): if javadoc_match and javadoc_match.span(0) < match.span(0): javadoc = javadoc_match.group(0).replace('*/', '*') javadoc += f"{indentation} *" - javadoc += f"{indentation} *
" + javadoc += f"{indentation} *
" javadoc += f"{indentation} *" else: javadoc = f"{indentation}/**" @@ -53,12 +53,12 @@ def replacement(match): if 'MessageType#REQUEST' in props.get('type'): javadoc += f"{indentation} * Request message for {props.get('response')}, opCode {props.get('opCode')}, size {props.get('size')}" javadoc += f"{indentation} *" - javadoc += f"{indentation} *
" + javadoc += f"{indentation} *
" javadoc += f"{indentation} *" elif 'MessageType#RESPONSE' in props.get('type'): javadoc += f"{indentation} * Response message for {props.get('request')}, opCode {props.get('opCode')}, size {props.get('size')}" javadoc += f"{indentation} *" - javadoc += f"{indentation} *
" + javadoc += f"{indentation} *
" javadoc += f"{indentation} *" javadoc += f"{indentation} * " javadoc += f"{indentation} * "